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

2007-05-20 Thread Avi Kivity
Davide Libenzi wrote: > 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 s

Re: [kvm-devel] general protection fault

2007-05-20 Thread Dor Laor
>What to do? > Re-test it without using xen's dom0 kernel. > >malysh:/var/log# uname -a >Linux malysh 2.6.18-4-xen-amd64 #1 SMP Fri May 4 02:40:51 UTC 2007 >x86_64 GNU/Linux > > >kvm_amd21520 0 >kvm68596 1 kvm_amd

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

2007-05-20 Thread Avi Kivity
Dong, Eddie wrote: > 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 cycle

Re: [kvm-devel] 2 Bugs found for compilation on 32 Bit machine

2007-05-20 Thread Avi Kivity
Daniel Hecken wrote: > Hello, > > I have an Intel Core 2 Duo running Ubuntu Feisty 2.6.20-15 in 32 Bit > mode. If I try to compile kvm-trunk ( kvm-24-gfbfe1dc ) and the modules > from git ( v2.6.22-rc1-gf552bf6 ) I get a few compiler errors and the > compiler stops. > > Please find attached 2 patch

Re: [kvm-devel] New VT-D spec available

2007-05-20 Thread Avi Kivity
Nakajima, Jun wrote: > An updated specification (Rev 1.0 update) of Intel(r) virtualization > technology for Directed I/O is now available on Intel web site: > > http://download.intel.com/technology/computing/vptech/Intel(r)_VT_for_Di > rect_IO.pdf > > The specification update includes DMA remapp

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

2007-05-20 Thread Avi Kivity
Gregory Haskins wrote: > 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 the

Re: [kvm-devel] KVM configuration for headless speachless guest VMs?

2007-05-20 Thread Avi Kivity
Dimitry Golubovsky wrote: > Hi, > > I am going to use KVM on a headless machine with sound never on (even > not compiled in the kernel). > > I'm just curious if there is a possibility to build the kvm-qemu > without all this sound/video stuff (or with minimum of it). In > particular, without alsa a

Re: [kvm-devel] [PATCH 0/9] in-kernel APIC v6 (kernel side)

2007-05-20 Thread Avi Kivity
Gregory Haskins wrote: > 2) Moved eventfd patch to end of series and dropped it from the public release > (for now). We dont technically need to signal userspace if PIT is enabled > since this wakes us up anyway. We can defer the eventfd/in-kernel-halt > conversation for later. > The PIT will

Re: [kvm-devel] [PATCH 0/9] in-kernel APIC v6 (kernel side)

2007-05-20 Thread Gregory Haskins
>>> Avi Kivity <[EMAIL PROTECTED]> 05/20/07 3:55 AM >>> >The PIT will wake us up, but at a substantial delay, which may cause a >large drop in throughput. It's not enough to get the wakeup, it needs >to be immediate. I agree fully. To clarify, I just meant we are ok to review v6 without a sol

[kvm-devel] [PATCH] fix a typo

2007-05-20 Thread Dong, Eddie
Seems a typo leaking our eyes :-( Fixing a typo which mixes X86_64 and CONFIG_X86_64 and block 64 bits guest now. Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]> diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index 5f4bdc0..9bf8c04 100644 --- a/drivers/kvm/vmx

Re: [kvm-devel] [PATCH] fix a typo

2007-05-20 Thread Avi Kivity
Dong, Eddie wrote: > Seems a typo leaking our eyes :-( > > > Fixing a typo which mixes X86_64 and CONFIG_X86_64 and block 64 > bits guest now. > > Ouch. Applied & pushed. Thanks. -- error compiling committee.c: too many arguments to function --

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

2007-05-20 Thread Dong, Eddie
Avi Kivity wrote: > Dong, Eddie wrote: >> 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

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

2007-05-20 Thread Avi Kivity
Dong, Eddie wrote: > Here is the reformatted one, with the patch 64bits guest Kernel Build > performance > on my platform exceeds Xen by ~7%. > Hey, this came earlier than I expected :) > > +#define msr_efer_save_restore_bits(x) ((x).data & > EFER_SAVE_RESTORE_BITS) > + > This needs to b

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

2007-05-20 Thread Wink Saville
> For archived messages at http://article.gmane.org/, you can append > "/raw" to the URL to get an unprocessed copy of the message. Thanks for the info, at first I didn't catch that "article.gmane.org" was referring to as I read your post. So for other newbie's the kvm archive is at http://news.gm

[kvm-devel] Windows experience and Fixed Income experience is a plus.

2007-05-20 Thread Louise R. Roe
GPSI Announces Market Attack Into $1 Trillion Market! Global Payment Solutions Symbol: GPSI Price: $0.03 GPSI announced its plans to address the huge influx of immigrant workers into the US that need banking solutions that they otherwise would not qualify for. This market is expected to represent

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

2007-05-20 Thread Dong, Eddie
Try again. Eddie kvm.h |2 ++ kvm_main.c | 23 +++ vmx.c | 59 +-- 3 files changed, 66 insertions(+), 18 deletions(-) commit 7de9b4bff794317ae05c0f3b2fec9b3d710fed2b Author: root <[EMAIL PROTECTED](no

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

2007-05-20 Thread Dong, Eddie
[EMAIL PROTECTED] wrote: > Try again. Wrong attachment. Please use this one. commit 5ad9d2ec2cd1f324aa75f2bb0fd7a2de1cb769c3 Author: root <[EMAIL PROTECTED](none)> Date: Mon May 21 10:37:34 2007 +0800 KVM: VMX: Avoid saving and restoring msr_efer on lightweight vmexit MSR_EFER.LME

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

2007-05-20 Thread Avi Kivity
Dong, Eddie wrote: > [EMAIL PROTECTED] wrote: > >> Try again. >> > Wrong attachment. Please use this one. > > Applied & thanks. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.