ia64/xen-unstable

changeset 5111:d8bcfd0c3742

bitkeeper revision 1.1523 (4292e3afzZhOD910qby84MZZyEFPZQ)

[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@intel.com>
author arun.sharma@intel.com[kaf24]
date Tue May 24 08:19:59 2005 +0000 (2005-05-24)
parents bb7d7790594e
children 757d57b8427b 5288bd28bf98
files tools/ioemu/hw/pc.c tools/ioemu/target-i386-dm/helper2.c
line diff
     1.1 --- a/tools/ioemu/hw/pc.c	Tue May 24 00:10:31 2005 +0000
     1.2 +++ b/tools/ioemu/hw/pc.c	Tue May 24 08:19:59 2005 +0000
     1.3 @@ -419,11 +419,11 @@ void pc_init(int ram_size, int vga_ram_s
     1.4      ret = load_image(buf, phys_ram_base + vga_bios_offset);
     1.5  #endif 
     1.6  
     1.7 +#ifndef NOBIOS
     1.8      /* setup basic memory access */
     1.9      cpu_register_physical_memory(0xc0000, 0x10000, 
    1.10                                   vga_bios_offset | IO_MEM_ROM);
    1.11  
    1.12 -#ifndef NOBIOS
    1.13      /* map the last 128KB of the BIOS in ISA space */
    1.14      isa_bios_size = bios_size;
    1.15      if (isa_bios_size > (128 * 1024))
     2.1 --- a/tools/ioemu/target-i386-dm/helper2.c	Tue May 24 00:10:31 2005 +0000
     2.2 +++ b/tools/ioemu/target-i386-dm/helper2.c	Tue May 24 08:19:59 2005 +0000
     2.3 @@ -313,7 +313,8 @@ do_interrupt(CPUState *env, int vector)
     2.4  
     2.5  	intr = &(((vcpu_iodata_t *) shared_page)->vp_intr[0]);
     2.6  	atomic_set_bit(vector, intr);
     2.7 -        fprintf(logfile, "injecting vector: %x\n", vector);
     2.8 +        if (loglevel & CPU_LOG_INT)
     2.9 +                fprintf(logfile, "injecting vector: %x\n", vector);
    2.10  	env->send_event = 1;
    2.11  }
    2.12