Re: [kvm-devel] [PATCH] Fix writing back APIC reset to inkernel APIC

2007-11-06 Thread Avi Kivity
Markus Rechberger wrote: > This patch synchronises the APIC reset with the inkernel > implementation which fixes the reboot issues which can be seen with > Linux and Windows. Applied, thanks. While I'm not sure how SMP guests will behave with this (nothing forces the other vcpu to exit), this

Re: [kvm-devel] [PATCH] Fix writing back APIC reset to inkernel APIC

2007-11-05 Thread Avi Kivity
Dong, Eddie wrote: > Avi Kivity wrote: > >> Dong, Eddie wrote: >> >>> Yes, when reseting, we need to reset both APIC/PIC/IOAPIC and pv >>> driver in future, and also VCPU. >>> But isn't apic_reset a pure user level APIC thing? >>> >> The reset callbacks are still called, so the users

Re: [kvm-devel] [PATCH] Fix writing back APIC reset to inkernel APIC

2007-11-05 Thread Dong, Eddie
Avi Kivity wrote: > Dong, Eddie wrote: >> Yes, when reseting, we need to reset both APIC/PIC/IOAPIC and pv >> driver in future, and also VCPU. >> But isn't apic_reset a pure user level APIC thing? > > The reset callbacks are still called, so the userspace apic is > still reset. OK. But since we h

Re: [kvm-devel] [PATCH] Fix writing back APIC reset to inkernel APIC

2007-11-03 Thread Avi Kivity
Dong, Eddie wrote: > Yes, when reseting, we need to reset both APIC/PIC/IOAPIC and pv > driver in future, and also VCPU. > But isn't apic_reset a pure user level APIC thing? The reset callbacks are still called, so the userspace apic is still reset. > BTW > I posted a patch to support kernel devi

Re: [kvm-devel] [PATCH] Fix writing back APIC reset to inkernel APIC

2007-11-01 Thread Dong, Eddie
] Fix writing back APIC reset to inkernel APIC Markus Rechberger wrote: This patch synchronises the APIC reset with the inkernel implementation which fixes the reboot issues which can be seen with Linux and Windows. Signed-o

Re: [kvm-devel] [PATCH] Fix writing back APIC reset to inkernel APIC

2007-11-01 Thread Dor Laor
Markus Rechberger wrote: This patch synchronises the APIC reset with the inkernel implementation which fixes the reboot issues which can be seen with Linux and Windows. Signed-off-by: Joerg Roedel <[EMAIL PROTECTED]> Signed-off-by: Markus Rechberger <[EMAIL PROTECTED]>

[kvm-devel] [PATCH] Fix writing back APIC reset to inkernel APIC

2007-11-01 Thread Markus Rechberger
This patch synchronises the APIC reset with the inkernel implementation which fixes the reboot issues which can be seen with Linux and Windows. Signed-off-by: Joerg Roedel <[EMAIL PROTECTED]> Signed-off-by: Markus Rechberger <[EMAIL PROTECTED]> diff --git a/qemu/hw/apic.c b/qemu/hw/apic.c index