Re: [Qemu-devel] [Bug 796202] [NEW] Doing a 64 bit load from a 32 bit local APIC register is allowed

2011-06-13 Thread Blue Swirl
On Sun, Jun 12, 2011 at 4:03 PM, Robert Uhl <796...@bugs.launchpad.net> wrote: > Public bug reported: > > Doing > > u64 lapic_idregister = (u64) fix_to_virt(FIX_APIC_BASE) + 0x20; > > and later in an interrupt handler > > movq (lapic_idregister), %rcx > movq (%rcx), %rcx > > in a linux kernel modul

[Qemu-devel] [Bug 796202] [NEW] Doing a 64 bit load from a 32 bit local APIC register is allowed

2011-06-12 Thread Robert Uhl
Public bug reported: Doing u64 lapic_idregister = (u64) fix_to_virt(FIX_APIC_BASE) + 0x20; and later in an interrupt handler movq (lapic_idregister), %rcx movq (%rcx), %rcx in a linux kernel module works in qemu 0.13.91 but not on real hardware (it simply reboots). On real hardware only movl