1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00

qemu: Move struct qemuDomainDiskInfo to qemu_domain.h

This commit is contained in:
Peter Krempa 2016-05-20 07:21:04 +02:00
parent 293668cd70
commit 5f963d89b1
3 changed files with 8 additions and 8 deletions

View File

@ -287,13 +287,6 @@ virCapsPtr virQEMUDriverCreateCapabilities(virQEMUDriverPtr driver);
virCapsPtr virQEMUDriverGetCapabilities(virQEMUDriverPtr driver, virCapsPtr virQEMUDriverGetCapabilities(virQEMUDriverPtr driver,
bool refresh); bool refresh);
struct qemuDomainDiskInfo {
bool removable;
bool locked;
bool tray_open;
int io_status;
};
typedef struct _qemuSharedDeviceEntry qemuSharedDeviceEntry; typedef struct _qemuSharedDeviceEntry qemuSharedDeviceEntry;
typedef qemuSharedDeviceEntry *qemuSharedDeviceEntryPtr; typedef qemuSharedDeviceEntry *qemuSharedDeviceEntryPtr;

View File

@ -304,6 +304,13 @@ struct _qemuDomainDiskPrivate {
# define QEMU_DOMAIN_HOSTDEV_PRIVATE(hostdev) \ # define QEMU_DOMAIN_HOSTDEV_PRIVATE(hostdev) \
((qemuDomainHostdevPrivatePtr) (hostdev)->privateData) ((qemuDomainHostdevPrivatePtr) (hostdev)->privateData)
struct qemuDomainDiskInfo {
bool removable;
bool locked;
bool tray_open;
int io_status;
};
typedef struct _qemuDomainHostdevPrivate qemuDomainHostdevPrivate; typedef struct _qemuDomainHostdevPrivate qemuDomainHostdevPrivate;
typedef qemuDomainHostdevPrivate *qemuDomainHostdevPrivatePtr; typedef qemuDomainHostdevPrivate *qemuDomainHostdevPrivatePtr;
struct _qemuDomainHostdevPrivate { struct _qemuDomainHostdevPrivate {

View File

@ -22,7 +22,7 @@
#include "testutils.h" #include "testutils.h"
#include "testutilsqemu.h" #include "testutilsqemu.h"
#include "qemumonitortestutils.h" #include "qemumonitortestutils.h"
#include "qemu/qemu_conf.h" #include "qemu/qemu_domain.h"
#include "qemu/qemu_monitor_json.h" #include "qemu/qemu_monitor_json.h"
#include "virthread.h" #include "virthread.h"
#include "virerror.h" #include "virerror.h"