WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [PATCH] qemu-unregister-c0000.patch

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [PATCH] qemu-unregister-c0000.patch
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Tue, 24 May 2005 08:19:59 +0000
Delivery-date: Tue, 24 May 2005 10:01:32 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1523, 2005/05/24 09:19:59+01:00, arun.sharma@xxxxxxxxx

        [PATCH] qemu-unregister-c0000.patch
        
        QEMU fixes
        
         - VMX domain owns 0xcxxxx.
         - guard the fprintf with a log level check
        
        Signed-off-by: Arun Sharma <arun.sharma@xxxxxxxxx>



 hw/pc.c                  |    2 +-
 target-i386-dm/helper2.c |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)


diff -Nru a/tools/ioemu/hw/pc.c b/tools/ioemu/hw/pc.c
--- a/tools/ioemu/hw/pc.c       2005-05-24 06:02:18 -04:00
+++ b/tools/ioemu/hw/pc.c       2005-05-24 06:02:18 -04: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))
diff -Nru a/tools/ioemu/target-i386-dm/helper2.c 
b/tools/ioemu/target-i386-dm/helper2.c
--- a/tools/ioemu/target-i386-dm/helper2.c      2005-05-24 06:02:17 -04:00
+++ b/tools/ioemu/target-i386-dm/helper2.c      2005-05-24 06:02:17 -04: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;
 }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [PATCH] qemu-unregister-c0000.patch, BitKeeper Bot <=