All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qemu-unregister-c0000.patch
@ 2005-05-24  0:15 Arun Sharma
  0 siblings, 0 replies; only message in thread
From: Arun Sharma @ 2005-05-24  0:15 UTC (permalink / raw)
  To: Ian Pratt, Keir Fraser; +Cc: xen-devel

QEMU fixes

 - VMX domain owns 0xcxxxx. 
 - guard the fprintf with a log level check

Signed-off-by: Arun Sharma <arun.sharma@intel.com>

--- 1.1/tools/ioemu/hw/pc.c	2005-05-19 15:04:52 -07:00
+++ edited/tools/ioemu/hw/pc.c	2005-05-23 16:37:18 -07:00
@@ -419,11 +419,11 @@
     ret = load_image(buf, phys_ram_base + vga_bios_offset);
 #endif 
 
+#ifndef NOBIOS
     /* setup basic memory access */
     cpu_register_physical_memory(0xc0000, 0x10000, 
                                  vga_bios_offset | IO_MEM_ROM);
 
-#ifndef NOBIOS
     /* map the last 128KB of the BIOS in ISA space */
     isa_bios_size = bios_size;
     if (isa_bios_size > (128 * 1024))
===== tools/ioemu/target-i386-dm/helper2.c 1.2 vs edited =====
--- 1.2/tools/ioemu/target-i386-dm/helper2.c	2005-05-20 10:01:22 -07:00
+++ edited/tools/ioemu/target-i386-dm/helper2.c	2005-05-23 16:35:40 -07:00
@@ -313,7 +313,8 @@
 
 	intr = &(((vcpu_iodata_t *) shared_page)->vp_intr[0]);
 	atomic_set_bit(vector, intr);
-        fprintf(logfile, "injecting vector: %x\n", vector);
+        if (loglevel & CPU_LOG_INT)
+                fprintf(logfile, "injecting vector: %x\n", vector);
 	env->send_event = 1;
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-24  0:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-24  0:15 [PATCH] qemu-unregister-c0000.patch Arun Sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.