]> git.proxmox.com Git - mirror_qemu.git/commit
isapc: Fix non-KVM qemu boot (read/write memory for isapc BIOS)
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 29 May 2013 08:27:24 +0000 (01:27 -0700)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 29 May 2013 13:15:35 +0000 (08:15 -0500)
commitdade922f357c709c02eed2e1b1891453896756dd
treea7c0fbfcebebe35706386de43845c324d797b70c
parent338ea905e948613607c98346e127fc9472c57f0d
isapc: Fix non-KVM qemu boot (read/write memory for isapc BIOS)

The isapc machine with seabios currently requires the BIOS region
to be read/write memory rather than read-only memory.

KVM currently cannot support the BIOS as a ROM region, but qemu
in non-KVM mode can. Based on this, isapc machine currently only
works with KVM.

To work-around this isapc issue, this change avoids marking the
BIOS as readonly for isapc.

This change also will allow KVM to start supporting ROM mode
via KVM_CAP_READONLY_MEM.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1369816047-16384-2-git-send-email-jordan.l.justen@intel.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/block/pc_sysfw.c
hw/i386/pc_piix.c