Re: [kvm-devel] [PATCH 1/38] KVM: Create kvm-intel.ko module

2006-11-30 Thread Ingo Molnar
* Christoph Hellwig <[EMAIL PROTECTED]> wrote: > On Thu, Nov 30, 2006 at 09:19:35PM +0100, Ingo Molnar wrote: > > > I get the feeling we'd be best off if we were to revisit this in a > > > year or so. > > > > yeah. I'd suggest merging it as-is into v2.6.20. In a year we'll > > have some real A

Re: [kvm-devel] [PATCH 1/38] KVM: Create kvm-intel.ko module

2006-11-30 Thread Christoph Hellwig
On Thu, Nov 30, 2006 at 09:19:35PM +0100, Ingo Molnar wrote: > > I get the feeling we'd be best off if we were to revisit this in a > > year or so. > > yeah. I'd suggest merging it as-is into v2.6.20. In a year we'll have > some real APIs to think about. Agreed. And because of that I think kee

Re: [kvm-devel] [PATCH 1/38] KVM: Create kvm-intel.ko module

2006-11-30 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > It's a fat, complex, presumably arch-specific, presumably > frequently-changing API. So whatever we do will be unpleasant - > that's unavoidable in this case, I suspect. > > (hmm, the interface isn't versioned at present - should it be?) > > Maybe

Re: [kvm-devel] [PATCH 1/38] KVM: Create kvm-intel.ko module

2006-11-30 Thread Andrew Morton
On Thu, 30 Nov 2006 16:44:25 +0100 Ingo Molnar <[EMAIL PROTECTED]> wrote: > > [...] Pretty similar to things like the msr or mtrr driver that expose > > cpu features as character drivers aswell. > > you can expose everything as character drivers and ioctls, but that > doesnt make it the right s

[kvm-devel] Startup problem under Fedora: emulation failed but !mmio_needed?

2006-11-30 Thread James Morris
Just wondering if anyone's seen this before, or knows what it is: OS is recent Fedora with various updates, kernel is upstream 2.6.19-rc6-mm2. # /usr/local/kvm/bin/qemu-system-x86_64 -hda vdisk.img -cdrom diskboot.img -boot d -m 384 -nographic (qemu) set_vram_mapping: memory: e000 - e08

Re: [kvm-devel] [PATCH 1/38] KVM: Create kvm-intel.ko module

2006-11-30 Thread Ingo Molnar
* Christoph Hellwig <[EMAIL PROTECTED]> wrote: > > please move this from drivers/kvm/ to kernel/kvm/ [or even into a > > toplevel kvm/ directory] - KVM is not a "driver", KVM enhances the > > core Linux kernel with hypervisor functionality. > > Actually it's exactly a driver. It's a character

Re: [kvm-devel] [PATCH] Add loglevels to all printk()s

2006-11-30 Thread Roland Dreier
> Applied, thanks. Please add signed-off-by's in the future, even to > trivial patches. Will do. I wasn't aware you were tracking s-o-b lines, since I didn't see any in your revision log. - R. - Take Surveys. Earn Cash.

Re: [kvm-devel] trivial Makefile patch + problem report

2006-11-30 Thread Roland Dreier
> I find it hard to believe, can you test qemu with user mode networking > and see what happens? If I remove "-net tap" from my qemu command line I don't get any of the rtc messages. - R. - Take Surveys. Earn Cash. Influe

Re: [kvm-devel] [PATCH 1/38] KVM: Create kvm-intel.ko module

2006-11-30 Thread Christoph Hellwig
On Mon, Nov 27, 2006 at 01:36:06PM +0100, Ingo Molnar wrote: > > * Avi Kivity <[EMAIL PROTECTED]> wrote: > > > --- linux-2.6.orig/drivers/kvm/kvm.h > > +++ linux-2.6/drivers/kvm/kvm.h > > please move this from drivers/kvm/ to kernel/kvm/ [or even into a > toplevel kvm/ directory] - KVM is not a

[kvm-devel] [PATCH] KVM: x86 emulator: handle smsw

2006-11-30 Thread Avi Kivity
This allows FreeBSD 6.2rc1 to boot. Also, don't pretend to support lmsw (mem). Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Index: linux-2.6/drivers/kvm/x86_emulate.c === --- linux-2.6.orig/drivers/kvm/x86_emulate.c +++ linux-2.6/d

[kvm-devel] [PATCH] KVM: Zero guest memory before use

2006-11-30 Thread Avi Kivity
This prevents an information leak from the host to the vmm and the guest. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> diff -X /home/avi/kvm/linux-2.6/Documentation/dontdiff --exclude=Makefile -ru /home/avi/kvm/linux-2.6/drivers/kvm/kvm_main.c /home/avi/kvm-release/kernel/kvm_main.c --- linux-

[kvm-devel] [PATCH] KVM: Fix mov to/from control register emulation, with r8-r15 as gpr

2006-11-30 Thread Avi Kivity
Use the standrd modrm decoder instead of special casing these instructions. This fixes mov %rX, %crY with X >= 8 or Y >= 8. The fix only applies to AMD SVM, as Intel vmx decodes the instruction for us. It cures the FC5 installer crashing when loading the xor module. Signed-off-by: Avi Kivity <[EM

Re: [kvm-devel] inter-VM communication?

2006-11-30 Thread Dor Laor
> Jun Koi wrote: > > On 11/30/06, Dor Laor <[EMAIL PROTECTED]> wrote: > > > >>> Hi, > >>> > >>> Do we have any inter-VM communication technique in KVM (something for > >>> example like event-channel in Xen) ? > >>> > >>> Thanks, > >>> Jun > >>> > >> Currently there is full isolation of the guests.

Re: [kvm-devel] inter-VM communication?

2006-11-30 Thread Avi Kivity
Jun Koi wrote: > On 11/30/06, Dor Laor <[EMAIL PROTECTED]> wrote: > >>> Hi, >>> >>> Do we have any inter-VM communication technique in KVM (something for >>> example like event-channel in Xen) ? >>> >>> Thanks, >>> Jun >>> >> Currently there is full isolation of the guests. >> Such mechan

Re: [kvm-devel] inter-VM communication?

2006-11-30 Thread Jun Koi
On 11/30/06, Dor Laor <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Do we have any inter-VM communication technique in KVM (something for > > example like event-channel in Xen) ? > > > > Thanks, > > Jun > > Currently there is full isolation of the guests. > Such mechanism would not be complicated to a

[kvm-devel] [PATCH] KVM: printk log levels

2006-11-30 Thread Avi Kivity
From: Roland Drier <[EMAIL PROTECTED]> Here's a trivial patch that adds log levels to all printks. This avoids ugly things like Message from [EMAIL PROTECTED] at Wed Nov 29 14:01:01 2006 ... roland-xeon-2 kernel: [81842.565619] msrs: 6 popping up in a console on my system when starting a guest.

[kvm-devel] [PATCH] KVM: More i386 fixes

2006-11-30 Thread Avi Kivity
From: Ingo Molnar <[EMAIL PROTECTED]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> diff -X /home/avi/kvm/linux-2.6/Documentation/dontdiff --exclude=Makefile -ru /home/avi/kvm/linux-2.6/drivers/kvm/kvm.h /home/avi/kvm-release/kernel/kvm.h --- linux-2.6/drivers/kvm/kvm.h 2006-11-29 17:50:23.0

Re: [kvm-devel] [PATCH] Add loglevels to all printk()s

2006-11-30 Thread Avi Kivity
Roland Dreier wrote: > Here's a trivial patch that adds log levels to all printks. This > avoids ugly things like > > Message from [EMAIL PROTECTED] at Wed Nov 29 14:01:01 2006 ... > roland-xeon-2 kernel: [81842.565619] msrs: 6 > > popping up in a console on my system when starting a guest. >

Re: [kvm-devel] trivial Makefile patch + problem report

2006-11-30 Thread Dor Laor
> Subject: Re: [kvm-devel] trivial Makefile patch + problem report > > Actually ... this does not seem to be a kvm issue at all! > > I just rebooted my system to try again, and I started a qemu guest and > got the spew of rtc lost interrupt messages. But I also noticed: > > Could not initialize