Skip to content

Commit

Permalink
Revert "KVM: Split QEMUMachine typedef into separate header"
Browse files Browse the repository at this point in the history
This reverts commit 9c06a1f.
The new header sysemu/qemumachine.h is undesired.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
  • Loading branch information
afaerber committed Mar 13, 2014
1 parent 2c3445b commit 602a392
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 21 deletions.
3 changes: 2 additions & 1 deletion include/hw/boards.h
Expand Up @@ -4,9 +4,10 @@
#define HW_BOARDS_H

#include "sysemu/blockdev.h"
#include "sysemu/qemumachine.h"
#include "hw/qdev.h"

typedef struct QEMUMachine QEMUMachine;

typedef struct QEMUMachineInitArgs {
const QEMUMachine *machine;
ram_addr_t ram_size;
Expand Down
1 change: 0 additions & 1 deletion include/hw/xen/xen.h
Expand Up @@ -10,7 +10,6 @@

#include "hw/irq.h"
#include "qemu-common.h"
#include "sysemu/qemumachine.h"

/* xen-machine.c */
enum xen_mode {
Expand Down
1 change: 0 additions & 1 deletion include/sysemu/kvm.h
Expand Up @@ -18,7 +18,6 @@
#include "config-host.h"
#include "qemu/queue.h"
#include "qom/cpu.h"
#include "sysemu/qemumachine.h"

#ifdef CONFIG_KVM
#include <linux/kvm.h>
Expand Down
16 changes: 0 additions & 16 deletions include/sysemu/qemumachine.h

This file was deleted.

1 change: 0 additions & 1 deletion include/sysemu/qtest.h
Expand Up @@ -16,7 +16,6 @@

#include "qemu-common.h"
#include "qapi/error.h"
#include "sysemu/qemumachine.h"

extern bool qtest_allowed;

Expand Down
1 change: 0 additions & 1 deletion kvm-stub.c
Expand Up @@ -14,7 +14,6 @@
#include "hw/hw.h"
#include "cpu.h"
#include "sysemu/kvm.h"
#include "sysemu/qemumachine.h"

#ifndef CONFIG_USER_ONLY
#include "hw/pci/msi.h"
Expand Down

0 comments on commit 602a392

Please sign in to comment.