FreeBSD host physical cdrom fixes
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Mar 2009 08:37:13 +0000 (08:37 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Mar 2009 08:37:13 +0000 (08:37 +0000)
commitbb30d1074de1f2f4babffd5698ac293e782af03c
treed2fe6657d916dc0aa657703910800696ff5e6d1b
parentd0e4c4f71ff3ff8b76f693902cfed00762f39254
FreeBSD host physical cdrom fixes

This improves physical cdrom support on FreeBSD hosts to be almost as
good as on Linux, with the only notable exception that you still need to
either have the guest itself eject the disc if you want to take it
out/change it, or do a change command in the monitor after taking out
a disc in case a guest cannot eject it itself - otherwise the guest may
continue using state (like size) of the old disc.

Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6888 c046a42c-6fe2-441c-8c8c-71466251a162
block-raw-posix.c