Re: [Qemu-devel] [PATCH][QEMU] vmxcap: Open MSR file in unbuffered mode

2013-02-14 Thread Gleb Natapov
On Thu, Feb 14, 2013 at 11:25:05AM +0100, Andreas Färber wrote: > Am 14.02.2013 08:55, schrieb Gleb Natapov: > > On Wed, Feb 13, 2013 at 12:43:10PM +0100, Jan Kiszka wrote: > >> Python may otherwise decide to to read larger chunks, applying the seek > >> only on the software buffer. This will retur

Re: [Qemu-devel] [PATCH][QEMU] vmxcap: Open MSR file in unbuffered mode

2013-02-14 Thread Andreas Färber
Am 14.02.2013 08:55, schrieb Gleb Natapov: > On Wed, Feb 13, 2013 at 12:43:10PM +0100, Jan Kiszka wrote: >> Python may otherwise decide to to read larger chunks, applying the seek >> only on the software buffer. This will return results from the wrong >> MSRs. >> >> Signed-off-by: Jan Kiszka > App

Re: [Qemu-devel] [PATCH][QEMU] vmxcap: Open MSR file in unbuffered mode

2013-02-13 Thread Gleb Natapov
On Wed, Feb 13, 2013 at 12:43:10PM +0100, Jan Kiszka wrote: > Python may otherwise decide to to read larger chunks, applying the seek > only on the software buffer. This will return results from the wrong > MSRs. > > Signed-off-by: Jan Kiszka Applied, thanks. > --- > scripts/kvm/vmxcap |4 +

[Qemu-devel] [PATCH][QEMU] vmxcap: Open MSR file in unbuffered mode

2013-02-13 Thread Jan Kiszka
Python may otherwise decide to to read larger chunks, applying the seek only on the software buffer. This will return results from the wrong MSRs. Signed-off-by: Jan Kiszka --- scripts/kvm/vmxcap |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kvm/vmxcap b/scr