* x2apic issues with Solaris and Xen guests
@ 2015-04-20 17:07 Stefan Hajnoczi
2015-04-20 17:29 ` Jan Kiszka
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Hajnoczi @ 2015-04-20 17:07 UTC (permalink / raw)
To: kvm; +Cc: Jan Kiszka, Paolo Bonzini, Michael Tokarev, Eduardo Habkost
I wonder whether the following two x2apic issues are related:
Solaris 10 U11 network doesn't work
https://bugzilla.redhat.com/show_bug.cgi?id=1040500
kvm - fails to setup timer interrupt via io-apic
(Thanks to Michael Tokarev for posting this link)
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528077#68
It seems KVM's x2apic emulation works with regular Linux and Windows
guests, but not necessarily with other OSes.
Has anyone looked into this?
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: x2apic issues with Solaris and Xen guests
2015-04-20 17:07 x2apic issues with Solaris and Xen guests Stefan Hajnoczi
@ 2015-04-20 17:29 ` Jan Kiszka
2015-04-20 18:05 ` Michael Tokarev
0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2015-04-20 17:29 UTC (permalink / raw)
To: Stefan Hajnoczi, kvm; +Cc: Paolo Bonzini, Michael Tokarev, Eduardo Habkost
[-- Attachment #1: Type: text/plain, Size: 949 bytes --]
On 2015-04-20 19:07, Stefan Hajnoczi wrote:
> I wonder whether the following two x2apic issues are related:
>
> Solaris 10 U11 network doesn't work
> https://bugzilla.redhat.com/show_bug.cgi?id=1040500
>
> kvm - fails to setup timer interrupt via io-apic
> (Thanks to Michael Tokarev for posting this link)
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528077#68
>
> It seems KVM's x2apic emulation works with regular Linux and Windows
> guests, but not necessarily with other OSes.
KVM's x2apic is kind of paravirtual - without VT-d interrupt remapping.
That may confuse the guest, though it should work. But Xen already
refuses to pick it according to the second report:
| (XEN) Not enabling x2APIC: depends on iommu_supports_eim.
>
> Has anyone looked into this?
Not yet. Is there a handy reproduction guest image? Or maybe someone
would like to start with tracing what the guest and the host do.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: x2apic issues with Solaris and Xen guests
2015-04-20 17:29 ` Jan Kiszka
@ 2015-04-20 18:05 ` Michael Tokarev
2015-04-20 18:30 ` Bandan Das
0 siblings, 1 reply; 4+ messages in thread
From: Michael Tokarev @ 2015-04-20 18:05 UTC (permalink / raw)
To: Jan Kiszka, Stefan Hajnoczi, kvm; +Cc: Paolo Bonzini, Eduardo Habkost
20.04.2015 20:29, Jan Kiszka wrote:
> On 2015-04-20 19:07, Stefan Hajnoczi wrote:
>> I wonder whether the following two x2apic issues are related:
>>
>> Solaris 10 U11 network doesn't work
>> https://bugzilla.redhat.com/show_bug.cgi?id=1040500
>>
>> kvm - fails to setup timer interrupt via io-apic
>> (Thanks to Michael Tokarev for posting this link)
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528077#68
[]
>> Has anyone looked into this?
>
> Not yet. Is there a handy reproduction guest image? Or maybe someone
> would like to start with tracing what the guest and the host do.
The second link gives a trivial reproducer, you need just the
xen hipervisor binary and some kernel. This should be easy
too, because it happens right on boot. But I guess it requires
some inner knowlege of xen early boot machinery.
Thanks,
/mjt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: x2apic issues with Solaris and Xen guests
2015-04-20 18:05 ` Michael Tokarev
@ 2015-04-20 18:30 ` Bandan Das
0 siblings, 0 replies; 4+ messages in thread
From: Bandan Das @ 2015-04-20 18:30 UTC (permalink / raw)
To: Michael Tokarev
Cc: Jan Kiszka, Stefan Hajnoczi, kvm, Paolo Bonzini, Eduardo Habkost
Michael Tokarev <mjt@tls.msk.ru> writes:
> 20.04.2015 20:29, Jan Kiszka wrote:
>> On 2015-04-20 19:07, Stefan Hajnoczi wrote:
>>> I wonder whether the following two x2apic issues are related:
>>>
>>> Solaris 10 U11 network doesn't work
>>> https://bugzilla.redhat.com/show_bug.cgi?id=1040500
>>>
>>> kvm - fails to setup timer interrupt via io-apic
>>> (Thanks to Michael Tokarev for posting this link)
>>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528077#68
> []
>>> Has anyone looked into this?
>>
>> Not yet. Is there a handy reproduction guest image? Or maybe someone
>> would like to start with tracing what the guest and the host do.
>
> The second link gives a trivial reproducer, you need just the
> xen hipervisor binary and some kernel. This should be easy
> too, because it happens right on boot. But I guess it requires
> some inner knowlege of xen early boot machinery.
Have you tried Radim's patch ?
commit c806a6ad35bfa6c92249cd0ca4772d5ac3f8cb68
Author: Radim Krčmář <rkrcmar@redhat.com>
Date: Wed Mar 18 19:38:22 2015 +0100
KVM: x86: call irq notifiers with directed EOI
> Thanks,
>
> /mjt
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-04-20 18:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-20 17:07 x2apic issues with Solaris and Xen guests Stefan Hajnoczi
2015-04-20 17:29 ` Jan Kiszka
2015-04-20 18:05 ` Michael Tokarev
2015-04-20 18:30 ` Bandan Das
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.