Re: KVM x86: Infinite loop on updating accessed bit in r/o page table

2014-02-25 Thread Paolo Bonzini
Il 25/02/2014 12:23, Jan Kiszka ha scritto: > even though OVMF sets the accessed/dirty bits so it's not exactly the same > scenario. > > Note that NPT simply does not support this. Page tables must be writable > in the NPT page tables, according to the AMD manual. We could still emulate the ins

Re: KVM x86: Infinite loop on updating accessed bit in r/o page table

2014-02-25 Thread Jan Kiszka
On 2014-02-25 11:57, Paolo Bonzini wrote: > Il 24/02/2014 19:29, Jan Kiszka ha scritto: >> Hi, >> >> I noticed that KVM (with VMX at least) enters an inifite loop of >> vmentries and ept-violations when it has to set the accessed bit in a >> guest page table that is in read-only memory (namely: the

Re: KVM x86: Infinite loop on updating accessed bit in r/o page table

2014-02-25 Thread Paolo Bonzini
Il 24/02/2014 19:29, Jan Kiszka ha scritto: > Hi, > > I noticed that KVM (with VMX at least) enters an inifite loop of > vmentries and ept-violations when it has to set the accessed bit in a > guest page table that is in read-only memory (namely: the F-segment of > the BIOS). I don't think this is

KVM x86: Infinite loop on updating accessed bit in r/o page table

2014-02-24 Thread Jan Kiszka
Hi, I noticed that KVM (with VMX at least) enters an inifite loop of vmentries and ept-violations when it has to set the accessed bit in a guest page table that is in read-only memory (namely: the F-segment of the BIOS). I don't think this is the proper reaction... Jan -- Siemens AG, Corporate