Re: [kvm-devel] [RFT] kvm host suspend/resume

2007-02-01 Thread Avi Kivity
Jeremy Katz wrote: > Avi Kivity wrote: >> Jeremy Katz wrote: >>> On Wed, 2007-01-31 at 12:32 +0200, Avi Kivity wrote: Jeremy Katz wrote: > Avi Kivity wrote: >> I've committed kvm support for host suspend-to-disk (and >> hopefully resume too). This means you can suspend your mach

Re: [kvm-devel] [PATCH try #2] kvm-12 userland guest reboot fix

2007-02-01 Thread Avi Kivity
Joerg Roedel wrote: > From: Markus Rechberger <[EMAIL PROTECTED]> > From: Joerg Roedel <[EMAIL PROTECTED]> > > This patch fixes the initialization of the segment registers which > solves the triple fault and keyboard controller reset problems in > kvm/qemu guests as well as the slow grub menu inter

Re: [kvm-devel] [PATCH try #2] kvm-12 userland guest reboot fix

2007-02-01 Thread Daniel Hecken
Avi Kivity schrieb: > Joerg Roedel wrote: >> From: Markus Rechberger <[EMAIL PROTECTED]> >> From: Joerg Roedel <[EMAIL PROTECTED]> >> >> This patch fixes the initialization of the segment registers which >> solves the triple fault and keyboard controller reset problems in >> kvm/qemu guests as well

Re: [kvm-devel] [PATCH try #2] kvm-12 userland guest reboot fix

2007-02-01 Thread Avi Kivity
Daniel Hecken wrote: > I tried this patch yesterday whilst installing Windows 2003 with kvm svn > and when the installer requested a reboot I just got this in the console: > > unhandled vm exit: 0x8021 > rax rbx rcx rdx > 0600 > r

[kvm-devel] SIGILL in grub in guest on 4365

2007-02-01 Thread Gregory Haskins
Hi All, New to the list and project...hoping to make a meaningful contribution here someday :) I am in the process of coming up to speed on the KVM project (very cool BTW). I found that it was extremely simple to get setup and running. During the course of setting it up, I found an issue r

Re: [kvm-devel] SIGILL in grub in guest on 4365

2007-02-01 Thread Avi Kivity
Gregory Haskins wrote: > Hi All, > New to the list and project...hoping to make a meaningful contribution here > someday :) > > I am in the process of coming up to speed on the KVM project (very cool BTW). > I found that it was extremely simple to get setup and running. During the > course o

Re: [kvm-devel] SIGILL in grub in guest on 4365

2007-02-01 Thread Gregory Haskins
>>> On Thu, Feb 1, 2007 at 7:46 AM, in message <[EMAIL PROTECTED]>, Avi Kivity <[EMAIL PROTECTED]> wrote: > Gregory Haskins wrote: > >> 1) Is this how illegal- op would be handled, or would that stay entirely in > the domain of the guest? >> > > An illegal opcode in the guest is handled no

Re: [kvm-devel] [kvm-commits] kvm: add host hypercall support for vmx (rev 4374)

2007-02-01 Thread Muli Ben-Yehuda
Hi Avi, You might want to consider setting the reply-to on kvm-commits to kvm-devel. On Thu, Feb 01, 2007 at 02:29:04PM +0200, Avi Kivity wrote: > Modified: kvm/trunk/kernel/vmx.c > == > --- kvm/trunk/kernel/vmx.c(or

Re: [kvm-devel] SIGILL in grub in guest on 4365

2007-02-01 Thread Avi Kivity
Gregory Haskins wrote: On Thu, Feb 1, 2007 at 7:46 AM, in message <[EMAIL PROTECTED]>, > Avi Kivity <[EMAIL PROTECTED]> wrote: > >> Gregory Haskins wrote: >> >> >>> 1) Is this how illegal- op would be handled, or would that stay entirely in >>> >> the domain of

Re: [kvm-devel] [kvm-commits] kvm: add host hypercall support for vmx (rev 4374)

2007-02-01 Thread Avi Kivity
Muli Ben-Yehuda wrote: > Hi Avi, > > You might want to consider setting the reply-to on kvm-commits to > kvm-devel. > > At qumranet we're used to reply-to-committer, so... > On Thu, Feb 01, 2007 at 02:29:04PM +0200, Avi Kivity wrote: > > >> Modified: kvm/trunk/kernel/vmx.c >> =

[kvm-devel] [PATCH] simplify pdpte check

2007-02-01 Thread Muli Ben-Yehuda
Small cleanup: we check (pdpte & 1) && (pdpte & constant). Instead just check (pdpte & (constant | 1)). Signed-off-by: Muli Ben-Yehuda <[EMAIL PROTECTED]> Index: kernel/kvm_main.c === --- kernel/kvm_main.c (revision 4379) +++ kerne

Re: [kvm-devel] [kvm-commits] kvm: add host hypercall support for vmx (rev 4374)

2007-02-01 Thread Muli Ben-Yehuda
On Thu, Feb 01, 2007 at 03:08:17PM +0200, Avi Kivity wrote: > >I noticed that the svm 'vmcall_interception' doesn't set > >kvm_run->exit_reason - is the setting here superflous or needed? and > >if it's needed, is it also needed in svm? > > > > A 'return 1' means there won't be an exit to user

Re: [kvm-devel] [PATCH] simplify pdpte check

2007-02-01 Thread Avi Kivity
Muli Ben-Yehuda wrote: > Small cleanup: we check (pdpte & 1) && (pdpte & constant). Instead > just check (pdpte & (constant | 1)). > > Signed-off-by: Muli Ben-Yehuda <[EMAIL PROTECTED]> > > Index: kernel/kvm_main.c > === > --- kernel/k

Re: [kvm-devel] [kvm-commits] kvm: add host hypercall support for vmx (rev 4374)

2007-02-01 Thread Avi Kivity
Muli Ben-Yehuda wrote: > Thanks for the explanation. I notice it's already gone in the trunk so > no cleanup patch :_) > > kvm trunk is a dangerous place :) -- error compiling committee.c: too many arguments to function ---

Re: [kvm-devel] [PATCH] simplify pdpte check

2007-02-01 Thread Muli Ben-Yehuda
On Thu, Feb 01, 2007 at 04:07:01PM +0200, Avi Kivity wrote: > Muli Ben-Yehuda wrote: > >Small cleanup: we check (pdpte & 1) && (pdpte & constant). Instead > >just check (pdpte & (constant | 1)). > > > >Signed-off-by: Muli Ben-Yehuda <[EMAIL PROTECTED]> > > > >Index: kernel/kvm_main.c > >===

Re: [kvm-devel] [PATCH] simplify pdpte check

2007-02-01 Thread Avi Kivity
Muli Ben-Yehuda wrote: > On Thu, Feb 01, 2007 at 04:07:01PM +0200, Avi Kivity wrote: > >> Muli Ben-Yehuda wrote: >> >>> Small cleanup: we check (pdpte & 1) && (pdpte & constant). Instead >>> just check (pdpte & (constant | 1)). >>> >>> Signed-off-by: Muli Ben-Yehuda <[EMAIL PROTECTED]> >>>

Re: [kvm-devel] [PATCH] simplify pdpte check

2007-02-01 Thread Dor Laor
>-Original Message- >From: [EMAIL PROTECTED] [mailto:kvm-devel- >[EMAIL PROTECTED] On Behalf Of Muli Ben-Yehuda >Sent: Thursday, February 01, 2007 4:46 PM >To: Avi Kivity >Cc: kvm-devel >Subject: Re: [kvm-devel] [PATCH] simplify pdpte check > >On Thu, Feb 01, 2007 at 04:07:01PM +0200, Avi

Re: [kvm-devel] [PATCH] simplify pdpte check

2007-02-01 Thread Avi Kivity
Dor Laor wrote: > >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:kvm-devel- >> [EMAIL PROTECTED] On Behalf Of Muli Ben-Yehuda >> Sent: Thursday, February 01, 2007 4:46 PM >> To: Avi Kivity >> Cc: kvm-devel >> Subject: Re: [kvm-devel] [PATCH] simplify pdpte check >> >> On Thu, F

Re: [kvm-devel] [PATCH] simplify pdpte check

2007-02-01 Thread Avi Kivity
Avi Kivity wrote: >> >> What about 'if (pdpte & 0xfff001e7ull > 0x1)' ? >> > > That would work. Actually it doesn't. pdpte == 2 fails. -- error compiling committee.c: too many arguments to function - Using Tomc

Re: [kvm-devel] [PATCH] simplify pdpte check

2007-02-01 Thread Muli Ben-Yehuda
On Thu, Feb 01, 2007 at 04:52:18PM +0200, Avi Kivity wrote: > pdpte == 2 is a legal value. in the original code, the (pdpte & 1) > == 0 and we don't 'goto out'. In the patched code, (pdpte & 0xblah) > == 2 and we 'goto out'. Yup, I got it now. Thanks. Cheers, Muli

Re: [kvm-devel] [PATCH] simplify pdpte check

2007-02-01 Thread Muli Ben-Yehuda
On Thu, Feb 01, 2007 at 06:52:47AM -0800, Dor Laor wrote: > What about 'if (pdpte & 0xfff001e7ull > 0x1)' ? > Although the original is more readable. The original is better, perhaps with a nice comment :-) Cheers, Muli

Re: [kvm-devel] KVM and Perf Counters

2007-02-01 Thread Casey Jeffery
I wanted to give an update on a project I'm attempting with KVM. The goal is to implement a software-based lockstepping of two or more virtual guests. There are a number of applications of this, and the most related is the ReVirt project that was done with UML and Xen by Dunlap et al. The basic id

Re: [kvm-devel] KVM and Perf Counters

2007-02-01 Thread Dor Laor
>I wanted to give an update on a project I'm attempting with KVM. The >goal is to implement a software-based lockstepping of two or more >virtual guests. There are a number of applications of this, and the >most related is the ReVirt project that was done with UML and Xen by >Dunlap et al. > >The b

Re: [kvm-devel] KVM and Perf Counters

2007-02-01 Thread Avi Kivity
Casey Jeffery wrote: > 1. What is the best way to start and ID multiple guests? I've just > been configuring a script to start up two of them from the > command-line and storing an ID in the kvm_vcpu structure. The first to > get to get to vmc_run() is designated as the primary and the other is > t

Re: [kvm-devel] [PATCH try #2] kvm-12 userland guest reboot fix

2007-02-01 Thread Joerg Roedel
On Thu, Feb 01, 2007 at 10:25:21AM +0200, Avi Kivity wrote: > Joerg Roedel wrote: > >From: Markus Rechberger <[EMAIL PROTECTED]> > >From: Joerg Roedel <[EMAIL PROTECTED]> > > > >This patch fixes the initialization of the segment registers which > >solves the triple fault and keyboard controller res

Re: [kvm-devel] KVM and Perf Counters

2007-02-01 Thread Casey Jeffery
Thanks for the very quick response. You guys at Qumranet are good. :) On 2/1/07, Dor Laor <[EMAIL PROTECTED]> wrote: > >The main questions I have at the moment are the following: > > > >1. What is the best way to start and ID multiple guests? I've just > >been configuring a script to start up two

Re: [kvm-devel] KVM and Perf Counters

2007-02-01 Thread Casey Jeffery
On 2/1/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Casey Jeffery wrote: > > 1. What is the best way to start and ID multiple guests? I've just > > been configuring a script to start up two of them from the > > command-line and storing an ID in the kvm_vcpu structure. The first to > > get to get to

[kvm-devel] CfP Workshops on Virtualization/XEN in HPC Cluster and Grid Computing (Deadline Extended)

2007-02-01 Thread Michael Alexander
Apologies if you received multiple copies of this message. === CALL FOR PAPERS Workshop on Virtualization/Xen in High-Performance Cluster and Grid Computing (XHPC'07) as part of The 16th IEEE International Symposium on High Performance

[kvm-devel] Subversion issues?

2007-02-01 Thread Anthony Liguori
Hi, Did something change recently with the SVN server? I think I'm getting banned from it. When I try to update my tailor tree, I start getting time outs and then any SVN command fails with connection closed. With another IP, trying to sync on the other machine results in the same thing happ

Re: [kvm-devel] Subversion issues?

2007-02-01 Thread Rami Tamir
Anthony, No DoS software was installed, but we did have some network problems. I'll look into it. Rami -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Liguori Sent: Thursday, February 01, 2007 10:32 PM To: kvm-devel Subject: [kvm-devel] Subversion

Re: [kvm-devel] Solaris 10 doesn't work under KVM

2007-02-01 Thread Waba
On Mon, Jan 29, 2007 at 01:49:06PM +0200, Avi Kivity wrote: > The attached patch should fix it. Update for those who wouldn't have followed IRC meanwhile: this patch does fix the bug for Opteron-based systems, but doesn't improve anything on my X2 4600+. Avi therefore suggests that someone (_joro?

Re: [kvm-devel] Subversion issues?

2007-02-01 Thread Anthony Liguori
Rami Tamir wrote: > Anthony, > No DoS software was installed, but we did have some network problems. > I'll look into it. > Thanks! If it helps, I can reproduce just by running: $ while true; do svn ls svn://kvm.qumranet.com/; done It will start dying usually by the third iteration. Regards

[kvm-devel] [PATCH] kvm compat patch

2007-02-01 Thread Markus Rechberger
This patch fixes the mutex, page and kzalloc problems with older kernels. Signed-off-by: Markus Rechberger <[EMAIL PROTECTED]> -- Markus Rechberger Operating System Research Center AMD Saxony LLC & Co. KG Index: mmu.c === --- mmu.c (