Re: [Qemu-devel] [PATCHv3 07/13] qemu: minimal MSI/MSI-X implementation for PC

2009-06-10 Thread Michael S. Tsirkin
On Tue, Jun 09, 2009 at 02:33:33PM -0300, Glauber Costa wrote: > > env = cpu_single_env; > > if (!env) > > @@ -727,7 +762,6 @@ static void apic_mem_writel(void *opaque, > > target_phys_addr_t addr, uint32_t val) > > printf("APIC write: %08x = %08x\n", (uint32_t)addr, val); > > #end

Re: [Qemu-devel] [PATCHv3 07/13] qemu: minimal MSI/MSI-X implementation for PC

2009-06-09 Thread Glauber Costa
> env = cpu_single_env; > if (!env) > @@ -727,7 +762,6 @@ static void apic_mem_writel(void *opaque, > target_phys_addr_t addr, uint32_t val) > printf("APIC write: %08x = %08x\n", (uint32_t)addr, val); > #endif > > -index = (addr >> 4) & 0xff; > switch(index) { > cas