]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Split ide-drive into ide-cd and ide-hd
authorOsier Yang <jyang@redhat.com>
Tue, 17 Apr 2012 09:16:52 +0000 (17:16 +0800)
committerOsier Yang <jyang@redhat.com>
Tue, 17 Apr 2012 09:21:48 +0000 (17:21 +0800)
commita4cda054e7fac8165e9c800b41090caf9fde761a
tree0471d9c5b696e452a2b74efc52b6bfa33df92623
parent02e8d0cfdf8723d33660b3273ed9cac214695061
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.
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
tests/qemuhelptest.c
tests/qemuxml2argvdata/qemuxml2argv-disk-ide-drive-split.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-disk-ide-drive-split.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c