summary refs log tree commit diff stats
path: root/qapi/qobject-input-visitor.c
diff options
context:
space:
mode:
authorHervé Poussineau <hpoussin@reactos.org>2017-02-20 21:41:19 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2017-03-03 16:40:03 +0100
commitf6f99b48087696812241d6c54f97444de6364c24 (patch)
tree8f08ad25c2c54115e80a5657029ac6e6781564ff /qapi/qobject-input-visitor.c
parentc99a29e702528698c0ce2590f06ca7ff239f7c39 (diff)
downloadfocaccia-qemu-f6f99b48087696812241d6c54f97444de6364c24.tar.gz
focaccia-qemu-f6f99b48087696812241d6c54f97444de6364c24.zip
vl: disable default cdrom when using explicitely scsi-hd
In commit af6bf1328ef90fae617857c02697e0174b84d596 (May 2011),
ide-hd, ide-cd and scsi-cd have been added to disable default cdrom,
"or else you can't put one on secondary master without -nodefaults".

Make it the same for scsi-hd, so you can put one on scsi-id 2 without
using -nodefaults.
scsi-hd has probably been forgotten, as it has been added in the
preceding commit (b443ae67130d32ad06b06fc9aa6d04d05ccd93ce).

Affected users are the ones using a machine with SCSI devices and start QEMU
with -device scsi-hd but without -device scsi-cd or -cdrom
In that case, the default cdrom device will disappear instead of being empty.

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Message-Id: <1487623279-29930-1-git-send-email-hpoussin@reactos.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qapi/qobject-input-visitor.c')
0 files changed, 0 insertions, 0 deletions