mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
meson, configure: move ntddscsi API check to meson
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
e23460ce92
commit
b7e4ab15c3
4 changed files with 21 additions and 28 deletions
|
@ -18,7 +18,7 @@
|
|||
#include <ws2tcpip.h>
|
||||
#include <iptypes.h>
|
||||
#include <iphlpapi.h>
|
||||
#ifdef CONFIG_QGA_NTDDSCSI
|
||||
#ifdef HAVE_NTDDSCSI
|
||||
#include <winioctl.h>
|
||||
#include <ntddscsi.h>
|
||||
#endif
|
||||
|
@ -474,7 +474,7 @@ void qmp_guest_file_flush(int64_t handle, Error **errp)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef CONFIG_QGA_NTDDSCSI
|
||||
#ifdef HAVE_NTDDSCSI
|
||||
|
||||
static GuestDiskBusType win2qemu[] = {
|
||||
[BusTypeUnknown] = GUEST_DISK_BUS_TYPE_UNKNOWN,
|
||||
|
@ -1111,7 +1111,7 @@ GuestDiskInfoList *qmp_guest_get_disks(Error **errp)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_QGA_NTDDSCSI */
|
||||
#endif /* HAVE_NTDDSCSI */
|
||||
|
||||
static GuestFilesystemInfo *build_guest_fsinfo(char *guid, Error **errp)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue