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)
commit9f23011ad5abd4520a7c7080b57e6ace21085223
treed2fe6657d916dc0aa657703910800696ff5e6d1b
parenta718acec08c4b22e9e3e36a0939d4ec8f94bf852
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