Re: [KVM paravirt issue?] Re: vsyscall=emulate regression

2012-02-28 Thread Amit Shah
On (Tue) 28 Feb 2012 [12:00:34], Avi Kivity wrote: > On 02/24/2012 08:58 PM, Andy Lutomirski wrote: > > On Thu, Feb 23, 2012 at 8:34 PM, H. Peter Anvin wrote: > > > On 02/16/2012 09:39 AM, Avi Kivity wrote: > > >>> > > >>> Yes, this is on purpose > > > > > > Why? > > > > I think the "this" refers

Re: [KVM paravirt issue?] Re: vsyscall=emulate regression

2012-02-28 Thread Avi Kivity
On 02/24/2012 08:58 PM, Andy Lutomirski wrote: > On Thu, Feb 23, 2012 at 8:34 PM, H. Peter Anvin wrote: > > On 02/16/2012 09:39 AM, Avi Kivity wrote: > >>> > >>> Yes, this is on purpose > > > > Why? > > I think the "this" refers to the PF_INSTR fault when executing at > 0xff600xxx. That's

Re: [KVM paravirt issue?] Re: vsyscall=emulate regression

2012-02-24 Thread Andy Lutomirski
On Thu, Feb 23, 2012 at 8:34 PM, H. Peter Anvin wrote: > On 02/16/2012 09:39 AM, Avi Kivity wrote: >>> >>> Yes, this is on purpose > > Why? I think the "this" refers to the PF_INSTR fault when executing at 0xff600xxx. That's definitely intentional -- it's how vsyscall emulation works. I

Re: [KVM paravirt issue?] Re: vsyscall=emulate regression

2012-02-23 Thread H. Peter Anvin
On 02/16/2012 09:39 AM, Avi Kivity wrote: >> >> Yes, this is on purpose Why? -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majo

Re: [KVM paravirt issue?] Re: vsyscall=emulate regression

2012-02-16 Thread Avi Kivity
On 02/16/2012 07:35 PM, Andy Lutomirski wrote: > > > > so it seems like kvm doesn't set PF_INSTR? > > Yes, this is on purpose, and you're almost certainly right (and I feel > dumb for not figuring this out immediately). The error message is: > > segfault at ff600400 ip ff600400 sp

Re: [KVM paravirt issue?] Re: vsyscall=emulate regression

2012-02-16 Thread Andy Lutomirski
On Thu, Feb 16, 2012 at 9:14 AM, Avi Kivity wrote: > On 02/16/2012 06:45 PM, Andy Lutomirski wrote: >> > >> >> So I could have messed up, or there could be a subtle >> >> bug somewhere.  Any ideas? >> > >> > What's the code trying to do?  Execute an instruction from an >> > non-executable page, tr

Re: [KVM paravirt issue?] Re: vsyscall=emulate regression

2012-02-16 Thread Avi Kivity
On 02/16/2012 06:45 PM, Andy Lutomirski wrote: > > > >> So I could have messed up, or there could be a subtle > >> bug somewhere. Any ideas? > > > > What's the code trying to do? Execute an instruction from an > > non-executable page, trap the #PF, and emulate? And what are the > > symptoms? wro

Re: [KVM paravirt issue?] Re: vsyscall=emulate regression

2012-02-16 Thread Andy Lutomirski
On Thu, Feb 16, 2012 at 8:17 AM, Avi Kivity wrote: > On 02/15/2012 09:36 PM, Andy Lutomirski wrote: >> Hi, kvm people- >> >> Here's a strange failure.  It could be a bug in something >> RHEL6-specific, but it could be a generic issue that only triggers >> with a paravirt guest with old userspace o

Re: [KVM paravirt issue?] Re: vsyscall=emulate regression

2012-02-16 Thread Avi Kivity
On 02/15/2012 09:36 PM, Andy Lutomirski wrote: > Hi, kvm people- > > Here's a strange failure. It could be a bug in something > RHEL6-specific, but it could be a generic issue that only triggers > with a paravirt guest with old userspace on a non-ept host. There was > a bug like this on Xen, and

[KVM paravirt issue?] Re: vsyscall=emulate regression

2012-02-15 Thread Andy Lutomirski
Hi, kvm people- Here's a strange failure. It could be a bug in something RHEL6-specific, but it could be a generic issue that only triggers with a paravirt guest with old userspace on a non-ept host. There was a bug like this on Xen, and I'm wondering something's wrong on kvm as well. For backg

Re: vsyscall=emulate regression

2012-02-15 Thread Amit Shah
On (Tue) 14 Feb 2012 [08:26:22], Andy Lutomirski wrote: > On Tue, Feb 14, 2012 at 4:22 AM, Amit Shah wrote: > > On (Fri) 03 Feb 2012 [13:57:48], Amit Shah wrote: > >> Hello, > >> > >> I'm booting some latest kernels on a Fedora 11 (released June 2009) > >> guest.  After the recent change of defaul