summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-06-24 19:58:20 +0200
committerDoug Goldstein <cardoe@gentoo.org>2010-08-20 16:41:12 -0500
commit425fcf14610006d70d40d9e9a9d360d91ff0b42f (patch)
treed69d1822e69ca897fd86fdd633640d17a99d3974 /vgafont.h
parentide: Make PIIX and ISA IDE init functions return the qdev (diff)
downloadqemu-kvm-0.12.5-gentoo-1.tar.gz
qemu-kvm-0.12.5-gentoo-1.tar.bz2
qemu-kvm-0.12.5-gentoo-1.zip
pc: Fix CMOS info for drives defined with -deviceqemu-kvm-0.12.5-gentoo-1qemu-kvm-0.12.5-gentoo
Drives defined with -drive if=ide get get created along with the IDE controller, inside machine->init(). That's before cmos_init(). Drives defined with -device get created during generic device init. That's after cmos_init(). Because of that, CMOS has no information on them (type, geometry, translation). Older versions of Windows such as XP reportedly choke on that. Split off the part of CMOS initialization that needs to know about -device devices, and turn it into a reset handler, so it runs after device creation. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> (cherry picked from commit c0897e0cb94e83ec1098867b81870e4f51f225b9)
Diffstat (limited to 'vgafont.h')
0 files changed, 0 insertions, 0 deletions