Re: [kvm-devel] Bug: vmmouse doesn't seem to work properly with xorg 7.3

2008-01-12 Thread Amit Shah
On Saturday 12 January 2008 08:45:29 Will Trives wrote: > Hello, > > As per subject the vmmouse driver does not appear to work with any > distro of Linux that uses Xorg 7.3, at least that has been my > experience. > > The mouse appears to be jammed over to the right hand side. Does exporting $ ex

Re: [kvm-devel] [RFC] fix VMX TSC synchronicity

2008-01-12 Thread Marcelo Tosatti
On Sat, Jan 12, 2008 at 02:11:30PM +1100, Will Trives wrote: > Hello, > > Just thought i'd mention that this patch caused disk corruption in my > virtual machines, particularly when using scsi emulation. > > I got few errors like this as well: > > lsi_scsi: error: ORDERED queue not implemented >

Re: [kvm-devel] [RFC] fix VMX TSC synchronicity

2008-01-12 Thread Will Trives
Hello, 64 bit environment Intel Q6600 processor. I did hand apply the patch so I might have got something wrong. Guest was a 32 bit kubuntu 7.10. Basically I just mounted a few disk images with " -drive file=/whatever,if=scsi " and used gparted to copy a partition from one to the other. It's p

Re: [kvm-devel] boot stops after console handover?

2008-01-12 Thread Antoine Martin
>> If that doesn't work, maybe you can upload an image >> for me to debug. > > http://194.145.196.85/kvm/vmlinuz-2.6.24-rc7.bz2 > Any luck? Any other ideas for me to try? FYI, just tried building 2.6.24-rc7-git4 and got this warning: (...) LD vmlinux.o MODPOST vmlinux.o WARNING: vmlinux

Re: [kvm-devel] mmu notifiers

2008-01-12 Thread Avi Kivity
Christoph Lameter wrote: > On Thu, 10 Jan 2008, Avi Kivity wrote: > > >> Actually sharing memory is possible even without this patch; one simply >> mmap()s a file into the address space of both guests. Or are you referring >> to >> something else? >> > > A file from where? If a file is re

Re: [kvm-devel] mmu notifiers

2008-01-12 Thread Avi Kivity
Christoph Lameter wrote: > >> Excellent, the more users the patch has, the easier it will be to justify it. >> > > We'd like to make sure though that we can sleep when the hooks have been > called. We may have to sent a message to kick remote ptes out when local > pte changes happen. > >

Re: [kvm-devel] [PATCH] KVM: add KVM_SYNC_SHADOW_WITH_USER ioctl (v2)

2008-01-12 Thread Avi Kivity
Marcelo Tosatti wrote: > Export nukeing of shadow MMU pages through an ioctl, required for > consistency on balloon inflate. > > With mmu notifiers (posted two minutes after this) shadow is implicitly synced with userspace. Since it seems to be progressing rapidly, I won't apply this patch i

Re: [kvm-devel] KVM and Vista question

2008-01-12 Thread Avi Kivity
Anup Gangwar wrote: > Hello All, > > I was trying to get Vista 64-bit to boot off QEMU and was pointed to > this list from the QEMU developers list. From the guest compatibility > page I could gather that KVM with Intel host is able to boot a Vista > 64-bit guest, however the stand-alone version

Re: [kvm-devel] Where are vmentry failure caugth?

2008-01-12 Thread Avi Kivity
Guillaume Thouvenin wrote: > On Thu, 10 Jan 2008 17:32:35 +0200 > Avi Kivity <[EMAIL PROTECTED]> wrote: > > >> I think 33 is the error code, which means we got a general protection >> fault while accessing segment 0x33. >> >> What guest code is running when this happens? The dump sometimes >>

Re: [kvm-devel] Setting hardware breakpoints in guest OS

2008-01-12 Thread Avi Kivity
[EMAIL PROTECTED] wrote: > Can hardware breakpoints be set (and trapped, and handled) inside a guest > OS (specifially Windows XP2)? > > I noticed the other day that software (malicious code, in fact) packed with > the EXE compressor PELock won't run under QEMU+KVM. I guessed that this was > becaus

Re: [kvm-devel] [PATCH] KVM: add KVM_SYNC_SHADOW_WITH_USER ioctl (v2)

2008-01-12 Thread Anthony Liguori
Avi Kivity wrote: > Marcelo Tosatti wrote: >> Export nukeing of shadow MMU pages through an ioctl, required for >> consistency on balloon inflate. >> >> > > With mmu notifiers (posted two minutes after this) shadow is > implicitly synced with userspace. Since it seems to be progressing > rapi

Re: [kvm-devel] Where are vmentry failure caugth?

2008-01-12 Thread Anthony Liguori
Avi Kivity wrote: > Guillaume Thouvenin wrote: > >> On Thu, 10 Jan 2008 17:32:35 +0200 >> Avi Kivity <[EMAIL PROTECTED]> wrote: >> >> >> >>> I think 33 is the error code, which means we got a general protection >>> fault while accessing segment 0x33. >>> >>> What guest code is running w

Re: [kvm-devel] [PATCH 2/3] [PATCH] kvmclock - the host part.

2008-01-12 Thread Avi Kivity
Glauber de Oliveira Costa wrote: > This is the host part of kvm clocksource implementation. As it does > not include clockevents, it is a fairly simple implementation. We > only have to register a per-vcpu area, and start writting to it periodically. > > The area is binary compatible with xen, as w

Re: [kvm-devel] [PATCH 2/3] [PATCH] kvmclock - the host part.

2008-01-12 Thread Avi Kivity
Anthony Liguori wrote: > Glauber de Oliveira Costa wrote: > >> This is the host part of kvm clocksource implementation. As it does >> not include clockevents, it is a fairly simple implementation. We >> only have to register a per-vcpu area, and start writting to it periodically. >> >> The area

Re: [kvm-devel] [RFC] fix VMX TSC synchronicity

2008-01-12 Thread Avi Kivity
Will Trives wrote: > Hello, > > 64 bit environment Intel Q6600 processor. > > I did hand apply the patch so I might have got something wrong. > > Guest was a 32 bit kubuntu 7.10. > > Basically I just mounted a few disk images with " -drive > file=/whatever,if=scsi " and used gparted to copy a parti

[kvm-devel] current kvm userspace git doesn't compile on i386

2008-01-12 Thread Christoph Hellwig
Current kvm userspace git configured with ./configure --prefix=/opt/kvm --with-patched-kernel --qemu-cc=/usr/bin/gcc-3.4 gives: /usr/bin/gcc-3.4 -L /home/hch/work/kvm-userspace/qemu/../libkvm -g -o qemu-system-x86_64 vl.o osdep.o monitor.o pci.o loader.o isa_mmio.o migration.o block-raw-posix

Re: [kvm-devel] [PATCH] KVM: add KVM_SYNC_SHADOW_WITH_USER ioctl (v2)

2008-01-12 Thread Avi Kivity
Anthony Liguori wrote: >>> >> >> With mmu notifiers (posted two minutes after this) shadow is >> implicitly synced with userspace. Since it seems to be progressing >> rapidly, I won't apply this patch in the hope that mmu notifiers can >> be ready for 2.6.25. > > Does that mean that we'll on

Re: [kvm-devel] [PATCH 1/2] include kvm_para.h

2008-01-12 Thread Avi Kivity
Glauber de Oliveira Costa wrote: > have qemu-kvm to include kvm_para, allowing access to paravirt definitions > > Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> > --- > qemu/qemu-kvm-x86.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/qemu/qemu-kvm-x86

Re: [kvm-devel] boot stops after console handover?

2008-01-12 Thread Avi Kivity
Antoine Martin wrote: >>> If that doesn't work, maybe you can upload an image >>> for me to debug. >>> >> http://194.145.196.85/kvm/vmlinuz-2.6.24-rc7.bz2 >> >> > Any luck? Any other ideas for me to try? > > Haven't got around to it yet, sorry. > FYI, just tried building 2.6.24-rc

Re: [kvm-devel] boot stops after console handover?

2008-01-12 Thread Carlo Marcelo Arenas Belon
On Sat, Jan 12, 2008 at 11:01:28PM +0200, Avi Kivity wrote: > Antoine Martin wrote: > > > FYI, just tried building 2.6.24-rc7-git4 and got this warning: > > (...) > > LD vmlinux.o > > MODPOST vmlinux.o > > WARNING: vmlinux.o(.text+0x2cb657): Section mismatch: reference to > > .init.text:re

Re: [kvm-devel] [PATCH 2/3] [PATCH] kvmclock - the host part.

2008-01-12 Thread Anthony Liguori
Avi Kivity wrote: > Anthony Liguori wrote: >> Glauber de Oliveira Costa wrote: >> >>> This is the host part of kvm clocksource implementation. As it does >>> not include clockevents, it is a fairly simple implementation. We >>> only have to register a per-vcpu area, and start writting to it >>>

Re: [kvm-devel] boot stops after console handover?

2008-01-12 Thread Antoine Martin
Carlo Marcelo Arenas Belon wrote: > On Sat, Jan 12, 2008 at 11:01:28PM +0200, Avi Kivity wrote: >> Antoine Martin wrote: >> >>> FYI, just tried building 2.6.24-rc7-git4 and got this warning: >>> (...) >> Probably harmless, but worth reporting to lkml. > > couldn't replicate it here, but I'd seen u

Re: [kvm-devel] boot stops after console handover?

2008-01-12 Thread Carlo Marcelo Arenas Belon
On Sun, Jan 13, 2008 at 01:19:13AM +, Antoine Martin wrote: > Carlo Marcelo Arenas Belon wrote: > > On Sat, Jan 12, 2008 at 11:01:28PM +0200, Avi Kivity wrote: > >> Antoine Martin wrote: > >> > >>> FYI, just tried building 2.6.24-rc7-git4 and got this warning: > >>> (...) > >> Probably harmless

Re: [kvm-devel] boot stops after console handover?

2008-01-12 Thread Carlo Marcelo Arenas Belon
On Sat, Jan 12, 2008 at 06:07:19PM +, Antoine Martin wrote: > >> If that doesn't work, maybe you can upload an image > >> for me to debug. > > > > http://194.145.196.85/kvm/vmlinuz-2.6.24-rc7.bz2 > > > Any luck? Any other ideas for me to try? see if the problem goes away with -no-kvm-irqchi