public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] support piix PAM registers in KVM
@ 2010-09-21 12:31 Gleb Natapov
  2010-09-21 19:06 ` Marcelo Tosatti
  2011-06-15 11:58 ` Jason Krieg
  0 siblings, 2 replies; 14+ messages in thread
From: Gleb Natapov @ 2010-09-21 12:31 UTC (permalink / raw)
  To: mtosatti; +Cc: seabios, kvm

Without this BIOS fails to remap 0xf0000 memory from ROM to RAM so writes
to F-segment modify ROM content instead of memory copy. Since QEMU does
not reloads ROMs during reset on next boot modified copy of BIOS is used.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index 933ad86..0bf435d 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -99,10 +99,6 @@ static void i440fx_update_memory_mappings(PCII440FXState *d)
     int i, r;
     uint32_t smram, addr;
 
-    if (kvm_enabled()) {
-        /* FIXME: Support remappings and protection changes. */
-        return;
-    }
     update_pam(d, 0xf0000, 0x100000, (d->dev.config[I440FX_PAM] >> 4) & 3);
     for(i = 0; i < 12; i++) {
         r = (d->dev.config[(i >> 1) + (I440FX_PAM + 1)] >> ((i & 1) * 4)) & 3;
--
			Gleb.

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-06-19 12:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-21 12:31 [PATCH] support piix PAM registers in KVM Gleb Natapov
2010-09-21 19:06 ` Marcelo Tosatti
2010-09-25 15:43   ` Kevin O'Connor
2011-06-15 11:58 ` Jason Krieg
2011-06-15 13:17   ` Avi Kivity
2011-06-15 13:54     ` Jason Krieg
2011-06-15 13:57       ` Avi Kivity
2011-06-15 13:59         ` Avi Kivity
2011-06-15 14:11           ` Jason Krieg
2011-06-15 14:25             ` Jason Krieg
2011-06-15 15:16           ` Jason Krieg
2011-06-15 15:19             ` Avi Kivity
2011-06-15 15:27               ` Jason Krieg
2011-06-19 12:45                 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox