Skip to content

Commit

Permalink
Move QEMUMachine typedef to qemu/typedefs.h
Browse files Browse the repository at this point in the history
As reported in commit 9c06a1f, xen.h is
not self-contained with regards to its use of QEMUMachine. Fix this.

Reported-by: Alexander Graf <agraf@suse.de>
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 602a392 commit 7a1a4da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions include/hw/boards.h
Expand Up @@ -6,8 +6,6 @@
#include "sysemu/blockdev.h"
#include "hw/qdev.h"

typedef struct QEMUMachine QEMUMachine;

typedef struct QEMUMachineInitArgs {
const QEMUMachine *machine;
ram_addr_t ram_size;
Expand Down
1 change: 1 addition & 0 deletions include/qemu/typedefs.h
Expand Up @@ -30,6 +30,7 @@ typedef struct MemoryListener MemoryListener;

typedef struct MemoryMappingList MemoryMappingList;

typedef struct QEMUMachine QEMUMachine;
typedef struct NICInfo NICInfo;
typedef struct HCIInfo HCIInfo;
typedef struct AudioState AudioState;
Expand Down

0 comments on commit 7a1a4da

Please sign in to comment.