提交 f81e0d48 编写于 作者: D Daniel P. Berrange

qemu: assume -drive format is always available

As of QEMU 0.10.0 the -drive format= parameter was added,
so the QEMU driver can assume it is always available.
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
上级 468273a6
...@@ -1102,8 +1102,6 @@ virQEMUCapsComputeCmdFlags(const char *help, ...@@ -1102,8 +1102,6 @@ virQEMUCapsComputeCmdFlags(const char *help,
if (memmem(cache, p - cache, "unsafe", sizeof("unsafe") - 1)) if (memmem(cache, p - cache, "unsafe", sizeof("unsafe") - 1))
virQEMUCapsSet(qemuCaps, QEMU_CAPS_DRIVE_CACHE_UNSAFE); virQEMUCapsSet(qemuCaps, QEMU_CAPS_DRIVE_CACHE_UNSAFE);
} }
if (strstr(help, "format="))
virQEMUCapsSet(qemuCaps, QEMU_CAPS_DRIVE_FORMAT);
if (strstr(help, "readonly=")) if (strstr(help, "readonly="))
virQEMUCapsSet(qemuCaps, QEMU_CAPS_DRIVE_READONLY); virQEMUCapsSet(qemuCaps, QEMU_CAPS_DRIVE_READONLY);
if (strstr(help, "aio=threads|native")) if (strstr(help, "aio=threads|native"))
...@@ -3170,7 +3168,6 @@ static qemuMonitorCallbacks callbacks = { ...@@ -3170,7 +3168,6 @@ static qemuMonitorCallbacks callbacks = {
static void static void
virQEMUCapsInitQMPBasic(virQEMUCapsPtr qemuCaps) virQEMUCapsInitQMPBasic(virQEMUCapsPtr qemuCaps)
{ {
virQEMUCapsSet(qemuCaps, QEMU_CAPS_DRIVE_FORMAT);
virQEMUCapsSet(qemuCaps, QEMU_CAPS_VGA); virQEMUCapsSet(qemuCaps, QEMU_CAPS_VGA);
virQEMUCapsSet(qemuCaps, QEMU_CAPS_0_10); virQEMUCapsSet(qemuCaps, QEMU_CAPS_0_10);
virQEMUCapsSet(qemuCaps, QEMU_CAPS_MEM_PATH); virQEMUCapsSet(qemuCaps, QEMU_CAPS_MEM_PATH);
...@@ -3880,9 +3877,8 @@ virQEMUCapsFillDomainLoaderCaps(virQEMUCapsPtr qemuCaps, ...@@ -3880,9 +3877,8 @@ virQEMUCapsFillDomainLoaderCaps(virQEMUCapsPtr qemuCaps,
VIR_DOMAIN_CAPS_ENUM_SET(capsLoader->type, VIR_DOMAIN_CAPS_ENUM_SET(capsLoader->type,
VIR_DOMAIN_LOADER_TYPE_ROM); VIR_DOMAIN_LOADER_TYPE_ROM);
if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_DRIVE_FORMAT)) VIR_DOMAIN_CAPS_ENUM_SET(capsLoader->type,
VIR_DOMAIN_CAPS_ENUM_SET(capsLoader->type, VIR_DOMAIN_LOADER_TYPE_PFLASH);
VIR_DOMAIN_LOADER_TYPE_PFLASH);
if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_DRIVE_READONLY)) if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_DRIVE_READONLY))
......
...@@ -64,7 +64,7 @@ typedef enum { ...@@ -64,7 +64,7 @@ typedef enum {
X_QEMU_CAPS_MIGRATE_QEMU_EXEC, /* have qemu exec migration */ X_QEMU_CAPS_MIGRATE_QEMU_EXEC, /* have qemu exec migration */
X_QEMU_CAPS_DRIVE_CACHE_V2, /* cache= flag wanting new v2 values */ X_QEMU_CAPS_DRIVE_CACHE_V2, /* cache= flag wanting new v2 values */
QEMU_CAPS_KVM, /* Whether KVM is enabled by default */ QEMU_CAPS_KVM, /* Whether KVM is enabled by default */
QEMU_CAPS_DRIVE_FORMAT, /* Is -drive format= avail */ X_QEMU_CAPS_DRIVE_FORMAT, /* Is -drive format= avail */
/* 15 */ /* 15 */
QEMU_CAPS_VGA, /* Is -vga avail */ QEMU_CAPS_VGA, /* Is -vga avail */
......
...@@ -3857,8 +3857,7 @@ qemuBuildDriveStr(virConnectPtr conn, ...@@ -3857,8 +3857,7 @@ qemuBuildDriveStr(virConnectPtr conn,
goto error; goto error;
} }
if (disk->src->format > 0 && if (disk->src->format > 0 &&
disk->src->type != VIR_STORAGE_TYPE_DIR && disk->src->type != VIR_STORAGE_TYPE_DIR)
virQEMUCapsGet(qemuCaps, QEMU_CAPS_DRIVE_FORMAT))
virBufferAsprintf(&opt, ",format=%s", virBufferAsprintf(&opt, ",format=%s",
virStorageFileFormatTypeToString(disk->src->format)); virStorageFileFormatTypeToString(disk->src->format));
...@@ -9048,12 +9047,6 @@ qemuBuildDomainLoaderCommandLine(virCommandPtr cmd, ...@@ -9048,12 +9047,6 @@ qemuBuildDomainLoaderCommandLine(virCommandPtr cmd,
break; break;
case VIR_DOMAIN_LOADER_TYPE_PFLASH: case VIR_DOMAIN_LOADER_TYPE_PFLASH:
if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_DRIVE_FORMAT)) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
_("this QEMU binary doesn't support passing "
"drive format"));
goto cleanup;
}
if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_NO_ACPI) && if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_NO_ACPI) &&
def->features[VIR_DOMAIN_FEATURE_ACPI] != VIR_TRISTATE_SWITCH_ON) { def->features[VIR_DOMAIN_FEATURE_ACPI] != VIR_TRISTATE_SWITCH_ON) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
......
<qemuCaps> <qemuCaps>
<flag name='drive-format'/>
<flag name='vga'/> <flag name='vga'/>
<flag name='0.10'/> <flag name='0.10'/>
<flag name='mem-path'/> <flag name='mem-path'/>
......
<qemuCaps> <qemuCaps>
<flag name='drive-format'/>
<flag name='vga'/> <flag name='vga'/>
<flag name='0.10'/> <flag name='0.10'/>
<flag name='mem-path'/> <flag name='mem-path'/>
......
<qemuCaps> <qemuCaps>
<flag name='drive-format'/>
<flag name='vga'/> <flag name='vga'/>
<flag name='0.10'/> <flag name='0.10'/>
<flag name='mem-path'/> <flag name='mem-path'/>
......
<qemuCaps> <qemuCaps>
<flag name='drive-format'/>
<flag name='vga'/> <flag name='vga'/>
<flag name='0.10'/> <flag name='0.10'/>
<flag name='mem-path'/> <flag name='mem-path'/>
......
<qemuCaps> <qemuCaps>
<flag name='drive-format'/>
<flag name='vga'/> <flag name='vga'/>
<flag name='0.10'/> <flag name='0.10'/>
<flag name='mem-path'/> <flag name='mem-path'/>
......
<qemuCaps> <qemuCaps>
<flag name='drive-format'/>
<flag name='vga'/> <flag name='vga'/>
<flag name='0.10'/> <flag name='0.10'/>
<flag name='mem-path'/> <flag name='mem-path'/>
......
<qemuCaps> <qemuCaps>
<flag name='drive-format'/>
<flag name='vga'/> <flag name='vga'/>
<flag name='0.10'/> <flag name='0.10'/>
<flag name='mem-path'/> <flag name='mem-path'/>
......
<qemuCaps> <qemuCaps>
<flag name='drive-format'/>
<flag name='vga'/> <flag name='vga'/>
<flag name='0.10'/> <flag name='0.10'/>
<flag name='mem-path'/> <flag name='mem-path'/>
......
<qemuCaps> <qemuCaps>
<flag name='drive-format'/>
<flag name='vga'/> <flag name='vga'/>
<flag name='0.10'/> <flag name='0.10'/>
<flag name='mem-path'/> <flag name='mem-path'/>
......
...@@ -152,7 +152,6 @@ mymain(void) ...@@ -152,7 +152,6 @@ mymain(void)
DO_TEST_FULL(name, version, is_kvm, kvm_version, VIR_ERR_OK, __VA_ARGS__) DO_TEST_FULL(name, version, is_kvm, kvm_version, VIR_ERR_OK, __VA_ARGS__)
DO_TEST("qemu-0.12.1", 12001, 0, 0, DO_TEST("qemu-0.12.1", 12001, 0, 0,
QEMU_CAPS_DRIVE_FORMAT,
QEMU_CAPS_DRIVE_SERIAL, QEMU_CAPS_DRIVE_SERIAL,
QEMU_CAPS_DRIVE_READONLY, QEMU_CAPS_DRIVE_READONLY,
QEMU_CAPS_VGA, QEMU_CAPS_VGA,
...@@ -179,7 +178,6 @@ mymain(void) ...@@ -179,7 +178,6 @@ mymain(void)
DO_TEST("qemu-kvm-0.12.1.2-rhel60", 12001, 1, 0, DO_TEST("qemu-kvm-0.12.1.2-rhel60", 12001, 1, 0,
QEMU_CAPS_DRIVE_BOOT, QEMU_CAPS_DRIVE_BOOT,
QEMU_CAPS_KVM, QEMU_CAPS_KVM,
QEMU_CAPS_DRIVE_FORMAT,
QEMU_CAPS_DRIVE_SERIAL, QEMU_CAPS_DRIVE_SERIAL,
QEMU_CAPS_DRIVE_READONLY, QEMU_CAPS_DRIVE_READONLY,
QEMU_CAPS_VGA, QEMU_CAPS_VGA,
...@@ -231,7 +229,6 @@ mymain(void) ...@@ -231,7 +229,6 @@ mymain(void)
DO_TEST("qemu-kvm-0.12.3", 12003, 1, 0, DO_TEST("qemu-kvm-0.12.3", 12003, 1, 0,
QEMU_CAPS_DRIVE_BOOT, QEMU_CAPS_DRIVE_BOOT,
QEMU_CAPS_KVM, QEMU_CAPS_KVM,
QEMU_CAPS_DRIVE_FORMAT,
QEMU_CAPS_DRIVE_SERIAL, QEMU_CAPS_DRIVE_SERIAL,
QEMU_CAPS_DRIVE_READONLY, QEMU_CAPS_DRIVE_READONLY,
QEMU_CAPS_VGA, QEMU_CAPS_VGA,
...@@ -264,7 +261,6 @@ mymain(void) ...@@ -264,7 +261,6 @@ mymain(void)
QEMU_CAPS_DRIVE_BOOT, QEMU_CAPS_DRIVE_BOOT,
QEMU_CAPS_DRIVE_CACHE_UNSAFE, QEMU_CAPS_DRIVE_CACHE_UNSAFE,
QEMU_CAPS_KVM, QEMU_CAPS_KVM,
QEMU_CAPS_DRIVE_FORMAT,
QEMU_CAPS_DRIVE_SERIAL, QEMU_CAPS_DRIVE_SERIAL,
QEMU_CAPS_DRIVE_READONLY, QEMU_CAPS_DRIVE_READONLY,
QEMU_CAPS_VGA, QEMU_CAPS_VGA,
...@@ -326,7 +322,6 @@ mymain(void) ...@@ -326,7 +322,6 @@ mymain(void)
DO_TEST("qemu-kvm-0.12.1.2-rhel61", 12001, 1, 0, DO_TEST("qemu-kvm-0.12.1.2-rhel61", 12001, 1, 0,
QEMU_CAPS_DRIVE_CACHE_UNSAFE, QEMU_CAPS_DRIVE_CACHE_UNSAFE,
QEMU_CAPS_KVM, QEMU_CAPS_KVM,
QEMU_CAPS_DRIVE_FORMAT,
QEMU_CAPS_DRIVE_SERIAL, QEMU_CAPS_DRIVE_SERIAL,
QEMU_CAPS_DRIVE_READONLY, QEMU_CAPS_DRIVE_READONLY,
QEMU_CAPS_VGA, QEMU_CAPS_VGA,
...@@ -385,7 +380,6 @@ mymain(void) ...@@ -385,7 +380,6 @@ mymain(void)
DO_TEST("qemu-kvm-0.12.1.2-rhel62-beta", 12001, 1, 0, DO_TEST("qemu-kvm-0.12.1.2-rhel62-beta", 12001, 1, 0,
QEMU_CAPS_DRIVE_CACHE_UNSAFE, QEMU_CAPS_DRIVE_CACHE_UNSAFE,
QEMU_CAPS_KVM, QEMU_CAPS_KVM,
QEMU_CAPS_DRIVE_FORMAT,
QEMU_CAPS_DRIVE_SERIAL, QEMU_CAPS_DRIVE_SERIAL,
QEMU_CAPS_DRIVE_READONLY, QEMU_CAPS_DRIVE_READONLY,
QEMU_CAPS_VGA, QEMU_CAPS_VGA,
...@@ -451,7 +445,6 @@ mymain(void) ...@@ -451,7 +445,6 @@ mymain(void)
QEMU_CAPS_DEVICE_VIRTIO_NET); QEMU_CAPS_DEVICE_VIRTIO_NET);
DO_TEST("qemu-1.0", 1000000, 0, 0, DO_TEST("qemu-1.0", 1000000, 0, 0,
QEMU_CAPS_DRIVE_CACHE_UNSAFE, QEMU_CAPS_DRIVE_CACHE_UNSAFE,
QEMU_CAPS_DRIVE_FORMAT,
QEMU_CAPS_DRIVE_SERIAL, QEMU_CAPS_DRIVE_SERIAL,
QEMU_CAPS_DRIVE_READONLY, QEMU_CAPS_DRIVE_READONLY,
QEMU_CAPS_VGA, QEMU_CAPS_VGA,
...@@ -533,7 +526,6 @@ mymain(void) ...@@ -533,7 +526,6 @@ mymain(void)
QEMU_CAPS_DEVICE_VIRTIO_NET); QEMU_CAPS_DEVICE_VIRTIO_NET);
DO_TEST("qemu-1.1.0", 1001000, 0, 0, DO_TEST("qemu-1.1.0", 1001000, 0, 0,
QEMU_CAPS_DRIVE_CACHE_UNSAFE, QEMU_CAPS_DRIVE_CACHE_UNSAFE,
QEMU_CAPS_DRIVE_FORMAT,
QEMU_CAPS_DRIVE_SERIAL, QEMU_CAPS_DRIVE_SERIAL,
QEMU_CAPS_DRIVE_READONLY, QEMU_CAPS_DRIVE_READONLY,
QEMU_CAPS_VGA, QEMU_CAPS_VGA,
......
...@@ -23,7 +23,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -23,7 +23,7 @@ QEMU_AUDIO_DRV=none \
-dtb /aarch64.dtb \ -dtb /aarch64.dtb \
-device virtio-serial-device,id=virtio-serial0 \ -device virtio-serial-device,id=virtio-serial0 \
-usb \ -usb \
-drive file=/aarch64.raw,if=none,id=drive-virtio-disk0 \ -drive file=/aarch64.raw,if=none,id=drive-virtio-disk0,format=raw \
-device virtio-blk-device,drive=drive-virtio-disk0,id=virtio-disk0 \ -device virtio-blk-device,drive=drive-virtio-disk0,id=virtio-disk0 \
-device virtio-net-device,vlan=0,id=net0,mac=52:54:00:09:a4:37 \ -device virtio-net-device,vlan=0,id=net0,mac=52:54:00:09:a4:37 \
-net user,vlan=0,name=hostnet0 \ -net user,vlan=0,name=hostnet0 \
......
...@@ -18,5 +18,5 @@ QEMU_AUDIO_DRV=none \ ...@@ -18,5 +18,5 @@ QEMU_AUDIO_DRV=none \
-monitor unix:/tmp/test-monitor,server,nowait \ -monitor unix:/tmp/test-monitor,server,nowait \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/aarch64.raw,if=none,id=drive-virtio-disk0 \ -drive file=/aarch64.raw,if=none,id=drive-virtio-disk0,format=raw \
-device virtio-blk-device,drive=drive-virtio-disk0,id=virtio-disk0 -device virtio-blk-device,drive=drive-virtio-disk0,id=virtio-disk0
...@@ -21,7 +21,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -21,7 +21,7 @@ QEMU_AUDIO_DRV=none \
-initrd /arm.initrd \ -initrd /arm.initrd \
-append 'console=ttyAMA0,115200n8 rw root=/dev/vda rootwait physmap.enabled=0' \ -append 'console=ttyAMA0,115200n8 rw root=/dev/vda rootwait physmap.enabled=0' \
-usb \ -usb \
-drive file=/arm.raw,if=none,id=drive-virtio-disk0 \ -drive file=/arm.raw,if=none,id=drive-virtio-disk0,format=raw \
-device virtio-blk-device,drive=drive-virtio-disk0,id=virtio-disk0 \ -device virtio-blk-device,drive=drive-virtio-disk0,id=virtio-disk0 \
-device virtio-net-device,vlan=0,id=net0,mac=52:54:00:09:a4:37 \ -device virtio-net-device,vlan=0,id=net0,mac=52:54:00:09:a4:37 \
-net user,vlan=0,name=hostnet0 \ -net user,vlan=0,name=hostnet0 \
......
...@@ -25,7 +25,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -25,7 +25,7 @@ QEMU_AUDIO_DRV=none \
-device pci-bridge,chassis_nr=2,id=pci.2,bus=pci.1,addr=0x1 \ -device pci-bridge,chassis_nr=2,id=pci.2,bus=pci.1,addr=0x1 \
-device virtio-serial-device,id=virtio-serial0 \ -device virtio-serial-device,id=virtio-serial0 \
-usb \ -usb \
-drive file=/aarch64.raw,if=none,id=drive-virtio-disk0 \ -drive file=/aarch64.raw,if=none,id=drive-virtio-disk0,format=raw \
-device virtio-blk-device,drive=drive-virtio-disk0,id=virtio-disk0 \ -device virtio-blk-device,drive=drive-virtio-disk0,id=virtio-disk0 \
-device virtio-net-device,vlan=0,id=net0,mac=52:54:00:09:a4:37 \ -device virtio-net-device,vlan=0,id=net0,mac=52:54:00:09:a4:37 \
-net user,vlan=0,name=hostnet0 \ -net user,vlan=0,name=hostnet0 \
......
...@@ -23,7 +23,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -23,7 +23,7 @@ QEMU_AUDIO_DRV=none \
-dtb /aarch64.dtb \ -dtb /aarch64.dtb \
-device virtio-serial-device,id=virtio-serial0 \ -device virtio-serial-device,id=virtio-serial0 \
-usb \ -usb \
-drive file=/aarch64.raw,if=none,id=drive-virtio-disk0 \ -drive file=/aarch64.raw,if=none,id=drive-virtio-disk0,format=raw \
-device virtio-blk-device,drive=drive-virtio-disk0,id=virtio-disk0 \ -device virtio-blk-device,drive=drive-virtio-disk0,id=virtio-disk0 \
-device virtio-net-device,vlan=0,id=net0,mac=52:54:00:09:a4:37 \ -device virtio-net-device,vlan=0,id=net0,mac=52:54:00:09:a4:37 \
-net user,vlan=0,name=hostnet0 \ -net user,vlan=0,name=hostnet0 \
......
...@@ -25,7 +25,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -25,7 +25,7 @@ QEMU_AUDIO_DRV=none \
-device pci-bridge,chassis_nr=2,id=pci.2,bus=pci.1,addr=0x1 \ -device pci-bridge,chassis_nr=2,id=pci.2,bus=pci.1,addr=0x1 \
-device virtio-scsi-pci,id=scsi0,bus=pcie.0,addr=0x3 \ -device virtio-scsi-pci,id=scsi0,bus=pcie.0,addr=0x3 \
-usb \ -usb \
-drive file=/aarch64.raw,if=none,id=drive-scsi0-0-0-0 \ -drive file=/aarch64.raw,if=none,id=drive-scsi0-0-0-0,format=raw \
-device scsi-disk,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,\ -device scsi-disk,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,\
id=scsi0-0-0-0 \ id=scsi0-0-0-0 \
-device virtio-net-pci,vlan=0,id=net0,mac=52:54:00:09:a4:37,bus=pcie.0,addr=0x2 \ -device virtio-net-pci,vlan=0,id=net0,mac=52:54:00:09:a4:37,bus=pcie.0,addr=0x2 \
......
...@@ -22,7 +22,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -22,7 +22,7 @@ QEMU_AUDIO_DRV=none \
115200n8 rw root=/dev/mmcblk0p3 rootwait physmap.enabled=0' \ 115200n8 rw root=/dev/mmcblk0p3 rootwait physmap.enabled=0' \
-dtb /arm.dtb \ -dtb /arm.dtb \
-usb \ -usb \
-drive file=/arm.raw,if=sd,index=0 \ -drive file=/arm.raw,if=sd,index=0,format=raw \
-net nic,macaddr=52:54:00:09:a4:37,vlan=0,model=lan9118,name=net0 \ -net nic,macaddr=52:54:00:09:a4:37,vlan=0,model=lan9118,name=net0 \
-net user,vlan=0,name=hostnet0 \ -net user,vlan=0,name=hostnet0 \
-serial pty -serial pty
...@@ -22,7 +22,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -22,7 +22,7 @@ QEMU_AUDIO_DRV=none \
-dtb /arm.dtb \ -dtb /arm.dtb \
-device virtio-serial-device,id=virtio-serial0 \ -device virtio-serial-device,id=virtio-serial0 \
-usb \ -usb \
-drive file=/arm.raw,if=none,id=drive-virtio-disk0 \ -drive file=/arm.raw,if=none,id=drive-virtio-disk0,format=raw \
-device virtio-blk-device,drive=drive-virtio-disk0,id=virtio-disk0 \ -device virtio-blk-device,drive=drive-virtio-disk0,id=virtio-disk0 \
-device virtio-net-device,vlan=0,id=net0,mac=52:54:00:09:a4:37 \ -device virtio-net-device,vlan=0,id=net0,mac=52:54:00:09:a4:37 \
-net user,vlan=0,name=hostnet0 \ -net user,vlan=0,name=hostnet0 \
......
...@@ -22,7 +22,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -22,7 +22,7 @@ QEMU_AUDIO_DRV=none \
-dtb /arm.dtb \ -dtb /arm.dtb \
-device virtio-serial-device,id=virtio-serial0 \ -device virtio-serial-device,id=virtio-serial0 \
-usb \ -usb \
-drive file=/arm.raw,if=none,id=drive-virtio-disk0 \ -drive file=/arm.raw,if=none,id=drive-virtio-disk0,format=raw \
-device virtio-blk-device,drive=drive-virtio-disk0,id=virtio-disk0 \ -device virtio-blk-device,drive=drive-virtio-disk0,id=virtio-disk0 \
-device virtio-net-device,vlan=0,id=net0,mac=52:54:00:09:a4:37 \ -device virtio-net-device,vlan=0,id=net0,mac=52:54:00:09:a4:37 \
-net user,vlan=0,name=hostnet0 \ -net user,vlan=0,name=hostnet0 \
......
...@@ -18,6 +18,6 @@ QEMU_AUDIO_DRV=none \ ...@@ -18,6 +18,6 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -18,6 +18,6 @@ QEMU_AUDIO_DRV=none \ ...@@ -18,6 +18,6 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x12 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x12
...@@ -18,6 +18,6 @@ QEMU_AUDIO_DRV=none \ ...@@ -18,6 +18,6 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x12 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x12
...@@ -19,7 +19,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -19,7 +19,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-serial pty \ -serial pty \
-device usb-tablet,id=input0 \ -device usb-tablet,id=input0 \
......
...@@ -17,11 +17,11 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,11 +17,11 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,cache=none,bps=5000,\ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=qcow2,\
iops=6000,bps_max=10000,iops_max=11000 \ cache=none,bps=5000,iops=6000,bps_max=10000,iops_max=11000 \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,if=none,id=drive-ide0-0-1,cache=none,\ -drive file=/dev/HostVG/QEMUGuest2,if=none,id=drive-ide0-0-1,format=qcow2,\
bps_rd=5000,bps_wr=5500,iops_rd=3500,iops_wr=4000,bps_rd_max=6000,\ cache=none,bps_rd=5000,bps_wr=5500,iops_rd=3500,iops_wr=4000,bps_rd_max=6000,\
bps_wr_max=6500,iops_rd_max=7000,iops_wr_max=7500,iops_size=2000 \ bps_wr_max=6500,iops_rd_max=7000,iops_wr_max=7500,iops_size=2000 \
-device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \ -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -17,10 +17,10 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,10 +17,10 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,cache=none,bps=5000,\ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=qcow2,\
iops=6000 \ cache=none,bps=5000,iops=6000 \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/QEMUGuest2,if=none,id=drive-ide0-0-1,cache=none,\ -drive file=/dev/HostVG/QEMUGuest2,if=none,id=drive-ide0-0-1,format=qcow2,\
bps_rd=5000,bps_wr=5000,iops=7000 \ cache=none,bps_rd=5000,bps_wr=5000,iops=7000 \
-device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \ -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot d \ -boot d \
-usb \ -usb \
-drive file=/dev/cdrom,if=ide,media=cdrom,bus=1,unit=0 \ -drive file=/dev/cdrom,if=ide,media=cdrom,bus=1,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -16,22 +16,22 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,22 +16,22 @@ QEMU_AUDIO_DRV=none \
-monitor unix:/tmp/test-monitor,server,nowait \ -monitor unix:/tmp/test-monitor,server,nowait \
-no-acpi \ -no-acpi \
-usb \ -usb \
-drive file=/tmp/vda.img,if=none,id=drive-virtio-disk0 \ -drive file=/tmp/vda.img,if=none,id=drive-virtio-disk0,format=raw \
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,\ -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,\
id=virtio-disk0,bootindex=3 \ id=virtio-disk0,bootindex=3 \
-drive file=/tmp/vdb.img,if=none,id=drive-virtio-disk1 \ -drive file=/tmp/vdb.img,if=none,id=drive-virtio-disk1,format=raw \
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk1,\ -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk1,\
id=virtio-disk1 \ id=virtio-disk1 \
-drive file=/dev/HostVG/hda,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/hda,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/hdb,if=none,id=drive-ide0-0-1 \ -drive file=/dev/HostVG/hdb,if=none,id=drive-ide0-0-1,format=raw \
-device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \ -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
-drive file=/dev/HostVG/hdc,if=none,media=cdrom,id=drive-ide0-1-0 \ -drive file=/dev/HostVG/hdc,if=none,media=cdrom,id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \
-drive file=/dev/fd0,if=none,id=drive-fdc0-0-0 \ -drive file=/dev/fd0,if=none,id=drive-fdc0-0-0,format=raw \
-global isa-fdc.driveA=drive-fdc0-0-0 \ -global isa-fdc.driveA=drive-fdc0-0-0 \
-global isa-fdc.bootindexA=4 \ -global isa-fdc.bootindexA=4 \
-drive file=/dev/fd1,if=none,id=drive-fdc0-0-1 \ -drive file=/dev/fd1,if=none,id=drive-fdc0-0-1,format=raw \
-global isa-fdc.driveB=drive-fdc0-0-1 \ -global isa-fdc.driveB=drive-fdc0-0-1 \
-device virtio-net-pci,vlan=0,id=net0,mac=00:11:22:33:44:11,bus=pci.0,addr=0x3,\ -device virtio-net-pci,vlan=0,id=net0,mac=00:11:22:33:44:11,bus=pci.0,addr=0x3,\
bootindex=2 \ bootindex=2 \
......
...@@ -17,21 +17,21 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,21 +17,21 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot dnca \ -boot dnca \
-usb \ -usb \
-drive file=/tmp/vda.img,if=none,id=drive-virtio-disk0,boot=on \ -drive file=/tmp/vda.img,if=none,id=drive-virtio-disk0,boot=on,format=raw \
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,\ -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,\
id=virtio-disk0 \ id=virtio-disk0 \
-drive file=/tmp/vdb.img,if=none,id=drive-virtio-disk1 \ -drive file=/tmp/vdb.img,if=none,id=drive-virtio-disk1,format=raw \
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk1,\ -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk1,\
id=virtio-disk1 \ id=virtio-disk1 \
-drive file=/dev/HostVG/hda,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/hda,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/hdb,if=none,id=drive-ide0-0-1 \ -drive file=/dev/HostVG/hdb,if=none,id=drive-ide0-0-1,format=raw \
-device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \ -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
-drive file=/dev/HostVG/hdc,if=none,media=cdrom,id=drive-ide0-1-0 \ -drive file=/dev/HostVG/hdc,if=none,media=cdrom,id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-drive file=/dev/fd0,if=none,id=drive-fdc0-0-0 \ -drive file=/dev/fd0,if=none,id=drive-fdc0-0-0,format=raw \
-global isa-fdc.driveA=drive-fdc0-0-0 \ -global isa-fdc.driveA=drive-fdc0-0-0 \
-drive file=/dev/fd1,if=none,id=drive-fdc0-0-1 \ -drive file=/dev/fd1,if=none,id=drive-fdc0-0-1,format=raw \
-global isa-fdc.driveB=drive-fdc0-0-1 \ -global isa-fdc.driveB=drive-fdc0-0-1 \
-device virtio-net-pci,vlan=0,id=net0,mac=00:11:22:33:44:11,bus=pci.0,addr=0x3 \ -device virtio-net-pci,vlan=0,id=net0,mac=00:11:22:33:44:11,bus=pci.0,addr=0x3 \
-net user,vlan=0,name=hostnet0 \ -net user,vlan=0,name=hostnet0 \
......
...@@ -18,6 +18,6 @@ QEMU_AUDIO_DRV=none \ ...@@ -18,6 +18,6 @@ QEMU_AUDIO_DRV=none \
-boot a \ -boot a \
-device i82801b11-bridge,id=pci.1,bus=pcie.0,addr=0x1e \ -device i82801b11-bridge,id=pci.1,bus=pcie.0,addr=0x1e \
-device pci-bridge,chassis_nr=2,id=pci.2,bus=pci.1,addr=0x1 \ -device pci-bridge,chassis_nr=2,id=pci.2,bus=pci.1,addr=0x1 \
-drive file=/tmp/firmware.img,if=none,id=drive-fdc0-0-0 \ -drive file=/tmp/firmware.img,if=none,id=drive-fdc0-0-0,format=raw \
-device isa-fdc,driveA=drive-fdc0-0-0 \ -device isa-fdc,driveA=drive-fdc0-0-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.2,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.2,addr=0x3
...@@ -16,8 +16,8 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,8 +16,8 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot a \ -boot a \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-drive file=/tmp/firmware.img,if=floppy,unit=0 \ -drive file=/tmp/firmware.img,if=floppy,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot menu=off \ -boot menu=off \
-usb \ -usb \
-drive file=/dev/cdrom,if=none,media=cdrom,id=drive-ide0-1-0 \ -drive file=/dev/cdrom,if=none,media=cdrom,id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot order=d,menu=off \ -boot order=d,menu=off \
-usb \ -usb \
-drive file=/dev/cdrom,if=none,media=cdrom,id=drive-ide0-1-0 \ -drive file=/dev/cdrom,if=none,media=cdrom,id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot order=d,menu=off \ -boot order=d,menu=off \
-usb \ -usb \
-drive file=/dev/cdrom,if=ide,media=cdrom,bus=1,unit=0 \ -drive file=/dev/cdrom,if=ide,media=cdrom,bus=1,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot order=d,menu=on,splash-time=3000 \ -boot order=d,menu=on,splash-time=3000 \
-usb \ -usb \
-drive file=/dev/cdrom,if=none,media=cdrom,id=drive-ide0-1-0 \ -drive file=/dev/cdrom,if=none,media=cdrom,id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot order=d,menu=on \ -boot order=d,menu=on \
-usb \ -usb \
-drive file=/dev/cdrom,if=none,media=cdrom,id=drive-ide0-1-0 \ -drive file=/dev/cdrom,if=none,media=cdrom,id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot order=dcna,menu=on \ -boot order=dcna,menu=on \
-usb \ -usb \
-drive file=/dev/cdrom,if=ide,media=cdrom,bus=1,unit=0 \ -drive file=/dev/cdrom,if=ide,media=cdrom,bus=1,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot n \ -boot n \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -16,14 +16,15 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,14 +16,15 @@ QEMU_AUDIO_DRV=none \
-monitor unix:/tmp/test-monitor,server,nowait \ -monitor unix:/tmp/test-monitor,server,nowait \
-no-acpi \ -no-acpi \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/root/boot.iso,if=none,media=cdrom,id=drive-ide0-1-0 \ -drive file=/root/boot.iso,if=none,media=cdrom,id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \
-drive file=sheepdog:example.org:6000:image,if=none,id=drive-virtio-disk0 \ -drive file=sheepdog:example.org:6000:image,if=none,id=drive-virtio-disk0,\
format=raw \
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\ -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\
id=virtio-disk0,bootindex=3 \ id=virtio-disk0,bootindex=3 \
-drive file=/dev/null,if=none,id=drive-fdc0-0-1 \ -drive file=/dev/null,if=none,id=drive-fdc0-0-1,format=raw \
-global isa-fdc.driveB=drive-fdc0-0-1 \ -global isa-fdc.driveB=drive-fdc0-0-1 \
-global isa-fdc.bootindexB=4 \ -global isa-fdc.bootindexB=4 \
-device virtio-net-pci,vlan=0,id=net0,mac=00:11:22:33:44:55,bus=pci.0,addr=0x3,\ -device virtio-net-pci,vlan=0,id=net0,mac=00:11:22:33:44:55,bus=pci.0,addr=0x3,\
......
...@@ -17,22 +17,22 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,22 +17,22 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot strict=on \ -boot strict=on \
-usb \ -usb \
-drive file=/tmp/vda.img,if=none,id=drive-virtio-disk0 \ -drive file=/tmp/vda.img,if=none,id=drive-virtio-disk0,format=raw \
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,\ -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,\
id=virtio-disk0,bootindex=3 \ id=virtio-disk0,bootindex=3 \
-drive file=/tmp/vdb.img,if=none,id=drive-virtio-disk1 \ -drive file=/tmp/vdb.img,if=none,id=drive-virtio-disk1,format=raw \
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk1,\ -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk1,\
id=virtio-disk1 \ id=virtio-disk1 \
-drive file=/dev/HostVG/hda,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/hda,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/HostVG/hdb,if=none,id=drive-ide0-0-1 \ -drive file=/dev/HostVG/hdb,if=none,id=drive-ide0-0-1,format=raw \
-device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \ -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
-drive file=/dev/HostVG/hdc,if=none,media=cdrom,id=drive-ide0-1-0 \ -drive file=/dev/HostVG/hdc,if=none,media=cdrom,id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \
-drive file=/dev/fd0,if=none,id=drive-fdc0-0-0 \ -drive file=/dev/fd0,if=none,id=drive-fdc0-0-0,format=raw \
-global isa-fdc.driveA=drive-fdc0-0-0 \ -global isa-fdc.driveA=drive-fdc0-0-0 \
-global isa-fdc.bootindexA=4 \ -global isa-fdc.bootindexA=4 \
-drive file=/dev/fd1,if=none,id=drive-fdc0-0-1 \ -drive file=/dev/fd1,if=none,id=drive-fdc0-0-1,format=raw \
-global isa-fdc.driveB=drive-fdc0-0-1 \ -global isa-fdc.driveB=drive-fdc0-0-1 \
-device virtio-net-pci,vlan=0,id=net0,mac=00:11:22:33:44:11,bus=pci.0,addr=0x3,\ -device virtio-net-pci,vlan=0,id=net0,mac=00:11:22:33:44:11,bus=pci.0,addr=0x3,\
bootindex=2 \ bootindex=2 \
......
...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-device i82801b11-bridge,id=pci.1,bus=pcie.0,addr=0x1e \ -device i82801b11-bridge,id=pci.1,bus=pcie.0,addr=0x1e \
-device pci-bridge,chassis_nr=2,id=pci.2,bus=pci.1,addr=0x1 \ -device pci-bridge,chassis_nr=2,id=pci.2,bus=pci.1,addr=0x1 \
-drive file=/tmp/firmware.img,if=none,id=drive-fdc0-0-0 \ -drive file=/tmp/firmware.img,if=none,id=drive-fdc0-0-0,format=raw \
-device isa-fdc,driveA=drive-fdc0-0-0,bootindexA=1 \ -device isa-fdc,driveA=drive-fdc0-0-0,bootindexA=1 \
-device virtio-balloon-pci,id=balloon0,bus=pci.2,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.2,addr=0x3
...@@ -19,7 +19,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -19,7 +19,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-chardev pipe,id=charchannel0,path=/tmp/guestfwd \ -chardev pipe,id=charchannel0,path=/tmp/guestfwd \
-netdev user,guestfwd=tcp:10.0.2.1:4600-chardev:charchannel0,id=user-channel0 \ -netdev user,guestfwd=tcp:10.0.2.1:4600-chardev:charchannel0,id=user-channel0 \
......
...@@ -18,7 +18,7 @@ QEMU_AUDIO_DRV=spice \ ...@@ -18,7 +18,7 @@ QEMU_AUDIO_DRV=spice \
-boot c \ -boot c \
-device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \ -device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-device spicevmc,bus=virtio-serial1.0,nr=3,id=channel0 \ -device spicevmc,bus=virtio-serial1.0,nr=3,id=channel0 \
-spice port=5903,tls-port=5904,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice,\ -spice port=5903,tls-port=5904,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice,\
......
...@@ -18,7 +18,7 @@ QEMU_AUDIO_DRV=spice \ ...@@ -18,7 +18,7 @@ QEMU_AUDIO_DRV=spice \
-boot c \ -boot c \
-device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \ -device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-chardev spicevmc,id=charchannel0,name=vdagent \ -chardev spicevmc,id=charchannel0,name=vdagent \
-device virtserialport,bus=virtio-serial1.0,nr=3,chardev=charchannel0,\ -device virtserialport,bus=virtio-serial1.0,nr=3,chardev=charchannel0,\
......
...@@ -23,7 +23,7 @@ addr=0x3 \ ...@@ -23,7 +23,7 @@ addr=0x3 \
-device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \ -device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \
-device virtio-serial-pci,id=virtio-serial2,bus=pci.0,addr=0x4 \ -device virtio-serial-pci,id=virtio-serial2,bus=pci.0,addr=0x4 \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-chardev pty,id=charchannel0 \ -chardev pty,id=charchannel0 \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,\ -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,\
......
...@@ -22,7 +22,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -22,7 +22,7 @@ QEMU_AUDIO_DRV=none \
addr=0x3 \ addr=0x3 \
-device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0x4 \ -device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0x4 \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-chardev pty,id=charchannel0 \ -chardev pty,id=charchannel0 \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,\ -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,\
......
...@@ -22,7 +22,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -22,7 +22,7 @@ QEMU_AUDIO_DRV=none \
addr=0x3 \ addr=0x3 \
-device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \ -device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-chardev pty,id=charchannel0 \ -chardev pty,id=charchannel0 \
-device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel0,\ -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel0,\
......
...@@ -21,7 +21,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -21,7 +21,7 @@ QEMU_AUDIO_DRV=none \
-device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \ -device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 \ -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-chardev pty,id=charchannel0 \ -chardev pty,id=charchannel0 \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,\ -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,\
......
...@@ -20,7 +20,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -20,7 +20,7 @@ QEMU_AUDIO_DRV=none \
-boot c \ -boot c \
-device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \ -device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-chardev pty,id=charchannel0 \ -chardev pty,id=charchannel0 \
-device virtserialport,bus=virtio-serial1.0,nr=3,chardev=charchannel0,\ -device virtserialport,bus=virtio-serial1.0,nr=3,chardev=charchannel0,\
......
...@@ -21,7 +21,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -21,7 +21,7 @@ QEMU_AUDIO_DRV=none \
-device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \ -device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 \ -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-chardev socket,id=charchannel0,\ -chardev socket,id=charchannel0,\
path=/tmp/domain-QEMUGuest1/org.qemu.guest_agent.0,server,nowait \ path=/tmp/domain-QEMUGuest1/org.qemu.guest_agent.0,server,nowait \
......
...@@ -20,7 +20,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -20,7 +20,7 @@ QEMU_AUDIO_DRV=none \
-boot c \ -boot c \
-device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \ -device virtio-serial-pci,id=virtio-serial1,bus=pci.0,addr=0xa \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-chardev pty,id=charchannel0 \ -chardev pty,id=charchannel0 \
-device virtserialport,bus=virtio-serial1.0,nr=3,chardev=charchannel0,\ -device virtserialport,bus=virtio-serial1.0,nr=3,chardev=charchannel0,\
......
...@@ -17,7 +17,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,7 +17,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -18,7 +18,7 @@ TZ=Europe/Paris \ ...@@ -18,7 +18,7 @@ TZ=Europe/Paris \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -19,7 +19,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -19,7 +19,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -17,7 +17,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,7 +17,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -17,7 +17,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,7 +17,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -17,7 +17,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,7 +17,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-net none \ -net none \
-serial pty \ -serial pty \
-parallel none -parallel none
...@@ -19,7 +19,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -19,7 +19,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-chardev pty,id=charserial0 \ -chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \ -device isa-serial,chardev=charserial0,id=serial0 \
......
...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-net none \ -net none \
-serial pty \ -serial pty \
-parallel none -parallel none
...@@ -18,7 +18,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -18,7 +18,7 @@ QEMU_AUDIO_DRV=none \
-mon chardev=charmonitor,id=monitor,mode=readline \ -mon chardev=charmonitor,id=monitor,mode=readline \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-virtio-disk0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-virtio-disk0,format=raw \
-device virtio-blk-s390,drive=drive-virtio-disk0,id=virtio-disk0 \ -device virtio-blk-s390,drive=drive-virtio-disk0,id=virtio-disk0 \
-chardev pty,id=charconsole0 \ -chardev pty,id=charconsole0 \
-device sclpconsole,chardev=charconsole0,id=console0 -device sclpconsole,chardev=charconsole0,id=console0
...@@ -18,7 +18,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -18,7 +18,7 @@ QEMU_AUDIO_DRV=none \
-mon chardev=charmonitor,id=monitor,mode=readline \ -mon chardev=charmonitor,id=monitor,mode=readline \
-no-acpi \ -no-acpi \
-device virtio-serial-ccw,id=virtio-serial0,devno=fe.0.0001 \ -device virtio-serial-ccw,id=virtio-serial0,devno=fe.0.0001 \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-virtio-disk0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-virtio-disk0,format=raw \
-device virtio-blk-ccw,devno=fe.0.0000,drive=drive-virtio-disk0,id=virtio-disk0,\ -device virtio-blk-ccw,devno=fe.0.0000,drive=drive-virtio-disk0,id=virtio-disk0,\
bootindex=1 \ bootindex=1 \
-chardev pty,id=charconsole0 \ -chardev pty,id=charconsole0 \
......
...@@ -20,7 +20,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -20,7 +20,7 @@ QEMU_AUDIO_DRV=none \
-boot c \ -boot c \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 \ -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-chardev pty,id=charserial0 \ -chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \ -device isa-serial,chardev=charserial0,id=serial0 \
......
...@@ -18,7 +18,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -18,7 +18,7 @@ QEMU_AUDIO_DRV=none \
-mon chardev=charmonitor,id=monitor,mode=readline \ -mon chardev=charmonitor,id=monitor,mode=readline \
-no-acpi \ -no-acpi \
-device virtio-serial-s390,id=virtio-serial0 \ -device virtio-serial-s390,id=virtio-serial0 \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-virtio-disk0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-virtio-disk0,format=raw \
-device virtio-blk-s390,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \ -device virtio-blk-s390,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \
-chardev pty,id=charconsole0 \ -chardev pty,id=charconsole0 \
-device virtconsole,chardev=charconsole0,id=console0 -device virtconsole,chardev=charconsole0,id=console0
...@@ -20,7 +20,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -20,7 +20,7 @@ QEMU_AUDIO_DRV=none \
-boot c \ -boot c \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 \ -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-chardev pty,id=charconsole0 \ -chardev pty,id=charconsole0 \
-device virtconsole,chardev=charconsole0,id=console0 \ -device virtconsole,chardev=charconsole0,id=console0 \
......
...@@ -19,11 +19,12 @@ QEMU_AUDIO_DRV=spice \ ...@@ -19,11 +19,12 @@ QEMU_AUDIO_DRV=spice \
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \ -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 \ -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 \
-device usb-ccid,id=ccid0 \ -device usb-ccid,id=ccid0 \
-drive file=/tmp/fdr.img,if=none,id=drive-virtio-disk0,cache=none,aio=native \ -drive file=/tmp/fdr.img,if=none,id=drive-virtio-disk0,format=raw,cache=none,\
aio=native \
-device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,\ -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,\
id=virtio-disk0 \ id=virtio-disk0 \
-drive file=/tmp/Fedora-17-x86_64-Live-Desktop.iso,if=none,media=cdrom,\ -drive file=/tmp/Fedora-17-x86_64-Live-Desktop.iso,if=none,media=cdrom,\
id=drive-ide0-1-0 \ id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-net-pci,vlan=0,id=net0,mac=52:54:00:4d:4b:19,bus=pci.0,addr=0x3 \ -device virtio-net-pci,vlan=0,id=net0,mac=52:54:00:4d:4b:19,bus=pci.0,addr=0x3 \
-net user,vlan=0,name=hostnet0 \ -net user,vlan=0,name=hostnet0 \
......
...@@ -17,7 +17,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,7 +17,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,7 +16,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -18,9 +18,9 @@ QEMU_AUDIO_DRV=none \ ...@@ -18,9 +18,9 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-1 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-1,format=raw \
-device ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \ -device ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
-drive file=/tmp/idedisk.img,if=none,id=drive-ide0-0-2 \ -drive file=/tmp/idedisk.img,if=none,id=drive-ide0-0-2,format=raw \
-device ide-hd,bus=ide.0,unit=2,drive=drive-ide0-0-2,id=ide0-0-2,\ -device ide-hd,bus=ide.0,unit=2,drive=drive-ide0-0-2,id=ide0-0-2,\
logical_block_size=512,physical_block_size=512 \ logical_block_size=512,physical_block_size=512 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -16,8 +16,8 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,8 +16,8 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-drive if=ide,media=cdrom,bus=1,unit=0 \ -drive if=ide,media=cdrom,bus=1,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \
-boot d \ -boot d \
-usb \ -usb \
-drive file=ftp://host.name:21/url/path/file.iso,if=none,media=cdrom,\ -drive file=ftp://host.name:21/url/path/file.iso,if=none,media=cdrom,\
id=drive-ide0-1-0 \ id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \
-boot d \ -boot d \
-usb \ -usb \
-drive file=ftps://host.name:990/url/path/file.iso,if=none,media=cdrom,\ -drive file=ftps://host.name:990/url/path/file.iso,if=none,media=cdrom,\
id=drive-ide0-1-0 \ id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \
-boot d \ -boot d \
-usb \ -usb \
-drive file=http://host.name:80/url/path/file.iso,if=none,media=cdrom,\ -drive file=http://host.name:80/url/path/file.iso,if=none,media=cdrom,\
id=drive-ide0-1-0 \ id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \
-boot d \ -boot d \
-usb \ -usb \
-drive file=https://host.name:443/url/path/file.iso,if=none,media=cdrom,\ -drive file=https://host.name:443/url/path/file.iso,if=none,media=cdrom,\
id=drive-ide0-1-0 \ id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,6 +17,6 @@ QEMU_AUDIO_DRV=none \
-boot d \ -boot d \
-usb \ -usb \
-drive file=tftp://host.name:69/url/path/file.iso,if=none,media=cdrom,\ -drive file=tftp://host.name:69/url/path/file.iso,if=none,media=cdrom,\
id=drive-ide0-1-0 \ id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -16,8 +16,8 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,8 +16,8 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-drive if=ide,media=cdrom,bus=1,unit=0 \ -drive if=ide,media=cdrom,bus=1,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -17,12 +17,13 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,12 +17,13 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot dc \ -boot dc \
-usb \ -usb \
-drive file=/var/lib/libvirt/images/f14.img,if=none,id=drive-virtio-disk0 \ -drive file=/var/lib/libvirt/images/f14.img,if=none,id=drive-virtio-disk0,\
format=qcow2 \
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\ -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\
id=virtio-disk0 \ id=virtio-disk0 \
-drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,if=none,media=cdrom,\ -drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,if=none,media=cdrom,\
id=drive-ide0-1-0 \ id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-drive if=none,media=cdrom,id=drive-ide0-1-1 \ -drive if=none,media=cdrom,id=drive-ide0-1-1,format=raw \
-device ide-drive,bus=ide.1,unit=1,drive=drive-ide0-1-1,id=ide0-1-1 \ -device ide-drive,bus=ide.1,unit=1,drive=drive-ide0-1-1,id=ide0-1-1 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -16,8 +16,8 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,8 +16,8 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-drive file=/root/boot.iso,if=ide,media=cdrom,bus=1,unit=0 \ -drive file=/root/boot.iso,if=ide,media=cdrom,bus=1,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -19,11 +19,11 @@ QEMU_AUDIO_DRV=none \ ...@@ -19,11 +19,11 @@ QEMU_AUDIO_DRV=none \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \ -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \
-usb \ -usb \
-drive file=/var/lib/libvirt/images/f14.img,if=none,id=drive-virtio-disk0,\ -drive file=/var/lib/libvirt/images/f14.img,if=none,id=drive-virtio-disk0,\
copy-on-read=on \ format=qcow2,copy-on-read=on \
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\ -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\
id=virtio-disk0 \ id=virtio-disk0 \
-drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,if=none,media=cdrom,\ -drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,if=none,media=cdrom,\
id=drive-ide0-1-0 \ id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-net-pci,tx=bh,vlan=0,id=net0,mac=52:54:00:e5:48:58,bus=pci.0,\ -device virtio-net-pci,tx=bh,vlan=0,id=net0,mac=52:54:00:e5:48:58,bus=pci.0,\
addr=0x3 \ addr=0x3 \
......
...@@ -16,8 +16,8 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,8 +16,8 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot d \ -boot d \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-drive file=/dev/HostVG/QEMUGuest2,if=ide,media=cdrom,bus=1,unit=0 \ -drive file=/dev/HostVG/QEMUGuest2,if=ide,media=cdrom,bus=1,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -16,8 +16,8 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,8 +16,8 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-drive file=/dev/HostVG/QEMUGuest2,if=ide,media=cdrom,bus=1,unit=0 \ -drive file=/dev/HostVG/QEMUGuest2,if=ide,media=cdrom,bus=1,unit=0,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -18,10 +18,10 @@ QEMU_AUDIO_DRV=none \ ...@@ -18,10 +18,10 @@ QEMU_AUDIO_DRV=none \
-boot dc \ -boot dc \
-usb \ -usb \
-drive file=/var/lib/libvirt/images/f14.img,if=none,id=drive-virtio-disk0,\ -drive file=/var/lib/libvirt/images/f14.img,if=none,id=drive-virtio-disk0,\
discard=unmap \ format=qcow2,discard=unmap \
-device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\ -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\
id=virtio-disk0 \ id=virtio-disk0 \
-drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,if=none,media=cdrom,\ -drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,if=none,media=cdrom,\
id=drive-ide0-1-0,discard=ignore \ id=drive-ide0-1-0,format=raw,discard=ignore \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -18,7 +18,7 @@ mon1.example.org:6321,mon2.example.org:6322,mon3.example.org:6322 \ ...@@ -18,7 +18,7 @@ mon1.example.org:6321,mon2.example.org:6322,mon3.example.org:6322 \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-drive file=rbd:pool/image,if=virtio,format=raw \ -drive file=rbd:pool/image,if=virtio,format=raw \
-net none \ -net none \
-serial none \ -serial none \
......
...@@ -16,10 +16,11 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,10 +16,11 @@ QEMU_AUDIO_DRV=none \
-monitor unix:/tmp/test-monitor,server,nowait \ -monitor unix:/tmp/test-monitor,server,nowait \
-no-acpi \ -no-acpi \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2 \
-drive file=/dev/HostVG/QEMUGuest2,if=none,media=cdrom,id=drive-ide0-1-0 \ -drive file=/dev/HostVG/QEMUGuest2,if=none,media=cdrom,id=drive-ide0-1-0,\
format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \
-drive file=/dev/fd0,if=none,id=drive-fdc0-0-0 \ -drive file=/dev/fd0,if=none,id=drive-fdc0-0-0,format=raw \
-global isa-fdc.driveA=drive-fdc0-0-0 \ -global isa-fdc.driveA=drive-fdc0-0-0 \
-global isa-fdc.bootindexA=3 -global isa-fdc.bootindexA=3
...@@ -18,8 +18,9 @@ QEMU_AUDIO_DRV=none \ ...@@ -18,8 +18,9 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/sr0,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on \ -drive file=/dev/sr0,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,\
format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -16,8 +16,8 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,8 +16,8 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-drive file=/dev/sr0,if=ide,media=cdrom,bus=1,unit=0,readonly=on \ -drive file=/dev/sr0,if=ide,media=cdrom,bus=1,unit=0,readonly=on,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -16,9 +16,9 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,9 +16,9 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-drive file=/dev/fd0,if=floppy,unit=0 \ -drive file=/dev/fd0,if=floppy,unit=0,format=raw \
-drive file=/tmp/firmware.img,if=floppy,unit=1 \ -drive file=/tmp/firmware.img,if=floppy,unit=1,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -16,9 +16,9 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,9 +16,9 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-drive file=/dev/fd0,if=floppy,unit=0 \ -drive file=/dev/fd0,if=floppy,unit=0,format=raw \
-drive if=floppy,unit=1 \ -drive if=floppy,unit=1,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -17,10 +17,10 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,10 +17,10 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-0,format=raw \
-device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \ -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 \
-drive file=/dev/fd0,if=none,id=drive-fdc0-0-0 \ -drive file=/dev/fd0,if=none,id=drive-fdc0-0-0,format=raw \
-global isa-fdc.driveA=drive-fdc0-0-0 \ -global isa-fdc.driveA=drive-fdc0-0-0 \
-drive if=none,id=drive-fdc0-0-1 \ -drive if=none,id=drive-fdc0-0-1,format=raw \
-global isa-fdc.driveB=drive-fdc0-0-1 \ -global isa-fdc.driveB=drive-fdc0-0-1 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -16,9 +16,9 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,9 +16,9 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0 \ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw \
-drive file=/dev/fd0,if=floppy,unit=0 \ -drive file=/dev/fd0,if=floppy,unit=0,format=raw \
-drive file=/tmp/firmware.img,if=floppy,unit=1 \ -drive file=/tmp/firmware.img,if=floppy,unit=1,format=raw \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -16,8 +16,8 @@ QEMU_AUDIO_DRV=none \ ...@@ -16,8 +16,8 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,cyls=16383,heads=16,\ -drive file=/dev/HostVG/QEMUGuest1,if=ide,bus=0,unit=0,format=raw,cyls=16383,\
secs=63,trans=lba \ heads=16,secs=63,trans=lba \
-net none \ -net none \
-serial none \ -serial none \
-parallel none -parallel none
...@@ -18,8 +18,8 @@ QEMU_AUDIO_DRV=none \ ...@@ -18,8 +18,8 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-1 \ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-1,format=raw \
-device ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \ -device ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 \
-drive file=/tmp/idedisk.img,if=none,id=drive-ide0-0-2 \ -drive file=/tmp/idedisk.img,if=none,id=drive-ide0-0-2,format=raw \
-device ide-hd,bus=ide.0,unit=2,drive=drive-ide0-0-2,id=ide0-0-2 \ -device ide-hd,bus=ide.0,unit=2,drive=drive-ide0-0-2,id=ide0-0-2 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
...@@ -17,7 +17,7 @@ QEMU_AUDIO_DRV=none \ ...@@ -17,7 +17,7 @@ QEMU_AUDIO_DRV=none \
-no-acpi \ -no-acpi \
-boot c \ -boot c \
-usb \ -usb \
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-1,\ -drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-ide0-0-1,format=raw,\
serial=WD-WMAP9A966149 \ serial=WD-WMAP9A966149 \
-device ide-hd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1,\ -device ide-hd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1,\
wwn=0x5000c50015ea71ad \ wwn=0x5000c50015ea71ad \
......
...@@ -18,11 +18,12 @@ QEMU_AUDIO_DRV=none \ ...@@ -18,11 +18,12 @@ QEMU_AUDIO_DRV=none \
-boot dc \ -boot dc \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \ -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \
-usb \ -usb \
-drive file=/var/lib/libvirt/images/f14.img,if=none,id=drive-virtio-disk0 \ -drive file=/var/lib/libvirt/images/f14.img,if=none,id=drive-virtio-disk0,\
format=qcow2 \
-device virtio-blk-pci,ioeventfd=on,scsi=off,bus=pci.0,addr=0x4,\ -device virtio-blk-pci,ioeventfd=on,scsi=off,bus=pci.0,addr=0x4,\
drive=drive-virtio-disk0,id=virtio-disk0 \ drive=drive-virtio-disk0,id=virtio-disk0 \
-drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,if=none,media=cdrom,\ -drive file=/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,if=none,media=cdrom,\
id=drive-ide0-1-0 \ id=drive-ide0-1-0,format=raw \
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \ -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 \
-device virtio-net-pci,tx=bh,ioeventfd=off,vlan=0,id=net0,mac=52:54:00:e5:48:58,\ -device virtio-net-pci,tx=bh,ioeventfd=off,vlan=0,id=net0,mac=52:54:00:e5:48:58,\
bus=pci.0,addr=0x3 \ bus=pci.0,addr=0x3 \
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册