diff options
author | Osier Yang <jyang@redhat.com> | 2012-04-17 17:16:52 +0800 |
---|---|---|
committer | Osier Yang <jyang@redhat.com> | 2012-04-17 17:21:48 +0800 |
commit | a4cda054e7fac8165e9c800b41090caf9fde761a (patch) | |
tree | 0471d9c5b696e452a2b74efc52b6bfa33df92623 /tests/qemuhelptest.c | |
parent | qemu: Split scsi-disk into into scsi-hd and scsi-cd (diff) | |
download | libvirt-a4cda054e7fac8165e9c800b41090caf9fde761a.tar.gz libvirt-a4cda054e7fac8165e9c800b41090caf9fde761a.tar.bz2 libvirt-a4cda054e7fac8165e9c800b41090caf9fde761a.zip |
qemu: Split ide-drive into ide-cd and ide-hd
A "ide-drive" device can be either a hard disk or a CD-ROM,
if there is ",media=cdrom" specified for the backend, it's
a CD-ROM, otherwise it's a hard disk.
Upstream qemu splitted "ide-drive" into "ide-hd" and "ide-cd"
since commit 1f56e32, and ",media=cdrom" is not required for
ide-cd anymore. "ide-drive" is still supported for backwards
compatibility, but no doubt we should go foward.
Diffstat (limited to 'tests/qemuhelptest.c')
-rw-r--r-- | tests/qemuhelptest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qemuhelptest.c b/tests/qemuhelptest.c index a01c3893c..d23b35a52 100644 --- a/tests/qemuhelptest.c +++ b/tests/qemuhelptest.c @@ -676,7 +676,8 @@ mymain(void) QEMU_CAPS_CPU_HOST, QEMU_CAPS_FSDEV_WRITEOUT, QEMU_CAPS_SCSI_BLOCK, - QEMU_CAPS_SCSI_CD); + QEMU_CAPS_SCSI_CD, + QEMU_CAPS_IDE_CD); return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE; } |