Re: [kvm-devel] [PATCH/RFC 7/9] Virtual network guest device driver

2007-05-17 Thread Carsten Otte
Daniel P. Berrange wrote: > As a userspace apps service, I'd very much like to see a common sockets > interface for inter-VM communication that is portable across virt systems > like Xen & KVM. I'd see it as similar to UNIX domain sockets in style. So > basically any app which could do UNIX doma

Re: [kvm-devel] [PATCH 5/9] KVM: Adds ability to signal userspace using a file-descriptor

2007-05-17 Thread Avi Kivity
Davide Libenzi wrote: > On Wed, 16 May 2007, Avi Kivity wrote: > > >> IMO doing eventfd_fget() asap is best. I much prefer refcounted pointers to >> handles in the kernel: it's easier to see what things point to, and there is >> to context needed for dereferencing. >> > > There are concern

Re: [kvm-devel] OOPS in kernel driver

2007-05-17 Thread Avi Kivity
Adam Majer wrote: > Hi, > > I'm using a somewhat "old" kernel with KVM (KVM included in the kernel). > I think it may be KVM-17 or something like that. Anyway, I got an OOPS > in the module while attempting to install Windows Server 2003 Standard > Edition 32-bit. > > I just started it with > kvm

Re: [kvm-devel] [PATCH] Handle #SS(0), caused by address size override in vm86 mode

2007-05-17 Thread Avi Kivity
Kamble, Nitin A wrote: > Hi Avi, > > I was playing with KVM while booting SuSE Linux 10.1 on it. And I > found it was bailing out with #SS fault. I root caused it to the > address size override opcode (0x67) from a mov instruction from the > boot loader. > The attached patch handles the #SS(0)

Re: [kvm-devel] Regression in latest git-HEAD

2007-05-17 Thread Avi Kivity
Makoto Dei wrote: > Hello, > > I have the same problem with Linux which is using isolinux, > such as Ubuntu. I checked the BIOS in the latest KVM and > I found that it seemed to be missing the following change. > > http://bochs.cvs.sourceforge.net/bochs/bochs/bios/rombios.c?view=log#rev1.172 > >

Re: [kvm-devel] [PATCH/RFC 7/9] Virtual network guest device driver

2007-05-17 Thread Anthony Liguori
Carsten Otte wrote: > Daniel P. Berrange wrote: > >> As a userspace apps service, I'd very much like to see a common sockets >> interface for inter-VM communication that is portable across virt systems >> like Xen & KVM. I'd see it as similar to UNIX domain sockets in style. So >> basically a

Re: [kvm-devel] [PATCH] lighweight VM Exit

2007-05-17 Thread Dong, Eddie
Avi Kivity wrote: >> Here it is. >> > > It's broken; your binutils is probably too old. > > >> Can u also send me your bootstrap and flat so that I can try here? >> Thx,eddie > Avi: Using yout vmexit.flat, it can work with my patch smoothly. Is this the one you see problems? Fr

Re: [kvm-devel] Gentoo livecd amd64 not working?

2007-05-17 Thread Avi Kivity
Wink Saville wrote: >> Please provide a link to the livecd you used. >> > http://bouncer.gentoo.org/fetch/gentoo-2007.0-livecd/amd64/ > > I'm using bridging to connect guest to host and use the following > commands: > > 1) qemu-img create -f qcow gentoo-amd64.img 20G > > 2) qemu-system-x86_64 . -h

Re: [kvm-devel] [PATCH] lighweight VM Exit

2007-05-17 Thread Avi Kivity
Dong, Eddie wrote: > Avi Kivity wrote: > >>> Here it is. >>> >>> >> It's broken; your binutils is probably too old. >> >> >> >>> Can u also send me your bootstrap and flat so that I can try here? >>> Thx,eddie >>> > Avi: > Using yout vmexit.flat, it can work with my patc

Re: [kvm-devel] [PATCH] lighweight VM Exit

2007-05-17 Thread Avi Kivity
Avi Kivity wrote: > Dong, Eddie wrote: >> Avi Kivity wrote: >> Here it is. >>> It's broken; your binutils is probably too old. >>> >>> >>> Can u also send me your bootstrap and flat so that I can try here? Thx,eddie >> Avi: >> Using yout vmexit.

Re: [kvm-devel] [PATCH/RFC 7/9] Virtual network guest device driver

2007-05-17 Thread Anthony Liguori
Rusty Russell wrote: > On Wed, 2007-05-16 at 14:10 -0500, Anthony Liguori wrote: > >> For the host, you can probably stay entirely within QEMU. Interguest >> communication would be a bit tricky but guest->host communication is >> real simple. >> > > guest->host is always simple. But it'

[kvm-devel] [PATCH] Disable stack protector in test suite

2007-05-17 Thread Anthony Liguori
The cc-option is originally from Linux. Regards, Anthony Liguori Subject: [PATCH] Disable stack protector in test suite Some distros (like Ubuntu) enable GCC's stack protector by default. The stack protector requires symbols in libgcc so since we're not linking against libgcc, we need to

Re: [kvm-devel] [PATCH] Disable stack protector in test suite

2007-05-17 Thread Avi Kivity
Anthony Liguori wrote: > The cc-option is originally from Linux. Applied, thanks. -- error compiling committee.c: too many arguments to function - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the

[kvm-devel] [Fwd: 2.6.22-rc1-mm1: strange GPF when panicing under kvm]

2007-05-17 Thread Avi Kivity
Copying kvm-devel - maybe someone here has an idea. A guest is faulting on the 'pause' instruction (aka 'rep nop'). Original Message Subject:2.6.22-rc1-mm1: strange GPF when panicing under kvm Date: Wed, 16 May 2007 17:13:13 -0700 From: Jeremy Fitzhardinge <[EMAIL P

Re: [kvm-devel] [PATCH 5/9] KVM: Adds ability to signal userspace using a file-descriptor

2007-05-17 Thread Davide Libenzi
On Thu, 17 May 2007, Avi Kivity wrote: > Davide Libenzi wrote: > > On Wed, 16 May 2007, Avi Kivity wrote: > > > > > > > IMO doing eventfd_fget() asap is best. I much prefer refcounted pointers > > > to > > > handles in the kernel: it's easier to see what things point to, and there > > > is >

Re: [kvm-devel] [PATCH 5/9] KVM: Adds ability to signal userspace using a file-descriptor

2007-05-17 Thread Davide Libenzi
On Thu, 17 May 2007, Davide Libenzi wrote: > /* Your eventfd create/setup function (modulo error checks) */ > void setup_eventfd(struct your_ctx *c) { > int fd; > > c->rcb.proc = rcb_callback; > fd = eventfd_create(0, &c->rcb); > c->evfile = eventfd_fget(fd); + fput

Re: [kvm-devel] [PATCH/RFC 7/9] Virtual network guest device driver

2007-05-17 Thread Rusty Russell
On Thu, 2007-05-17 at 11:13 -0500, Anthony Liguori wrote: > Rusty Russell wrote: > > I think shared memory is an obvious start, but it's not enough for > > inter-guest where they can't freely access each other's memory. So you > > really want a ring-buffer of descriptors with a hypervisor-assist t

[kvm-devel] [PATCH/RFC] KVM: Adds support for halting in the kernel

2007-05-17 Thread Gregory Haskins
Hi All, I was thinking about some of the issues that we are dealing with w.r.t. signalling a sleeping userspace (eventfd, signals, etc). I was wondering if perhaps we were looking at the problem the wrong way. Can we perform halts in the kernel and therefore eliminate the need to signa

[kvm-devel] [PATCH] MSR_EFER acceleration for lighweight VM Exit

2007-05-17 Thread Dong, Eddie
Avi: This patch is to avoid saving and restoring of msr_efer on lightweight vmexit. With this patch, the Kernel build get 10% increasement for 64bits on 64 bits, and 5-8% increasement for 32bits on 64 bits. Vmexit.flat can see ~1185 cycles save for 64 bits on 64 bi

Re: [kvm-devel] [PATCH/RFC 7/9] Virtual network guest device driver

2007-05-17 Thread ron minnich
On 5/16/07, Anthony Liguori <[EMAIL PROTECTED]> wrote: > What do you think about a socket interface? I'm not sure how discovery > would work yet, but there are a few PV socket implementations for Xen at > the moment. Hi Anthony, I still feel that "how about a socket interface" is still focused o

[kvm-devel] A minor cleanup

2007-05-17 Thread Dong, Eddie
commit 2927aaddf9d5b83cf894e409c98eeaf8563359a5 Author: root <[EMAIL PROTECTED](none)> Date: Fri May 18 13:31:58 2007 +0800 Cleanup redundant code in MSR set Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index 5386461..3

Re: [kvm-devel] Gentoo livecd amd64 not working?

2007-05-17 Thread Wink Saville
> > This reproduces here. qemu works, so it's likely an interrupt being > lost. Can you try out Gregory's apic patchset? > Avi, I assume you mean the "v4 & v5" acpi patches from Gregory Haskins, sorry to ask a seemingly simple question, but I'm new to the list. Also, I don't have these patches