Re: [kvm-devel] [PATCH] Move x86 ioctl definitions from include/linux/kvm.h

2007-11-20 Thread Carsten Otte
Jerone Young wrote: > This patch is a continuation of the 7 patches sent earlier. This > patch moves all x86 specific macros from include/linux/kvm.h to > include/asm-x86/kvm.h. > > Signed-off-by: Jerone Young <[EMAIL PROTECTED]> Acked-by: Carsten Otte <[EMAIL PROTECTED]>

Re: [kvm-devel] [PATCH] Move x86 ioctl definitions frominclude/linux/kvm.h

2007-11-20 Thread Zhang, Xiantao
Jerone Young wrote: > This patch is a continuation of the 7 patches sent earlier. This > patch moves all x86 specific macros from include/linux/kvm.h to > include/asm-x86/kvm.h. > > Signed-off-by: Jerone Young <[EMAIL PROTECTED]> > > *note just realized none of the other patches except for email

Re: [kvm-devel] [RFC] virtio-blk PCI backend

2007-11-20 Thread Christian Borntraeger
Am Freitag, 9. November 2007 schrieb Dor Laor: > I believe that the network interface will quickly go to the kernel since > copy takes most of the > cpu time and qemu does not support scatter gather dma at the moment. > Nevertheless using pio seems good enough, Anthony's suggestion of > notifying

[kvm-devel] Migration doesn't working at all for me

2007-11-20 Thread Anton Patrushev
[EMAIL PROTECTED] ~]# uname -a Linux localhost.localdomain 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 i686 i386 GNU/Linux [EMAIL PROTECTED] ~]# modinfo kvm filename: /lib/modules/2.6.20-1.2320.fc5smp/extra/kvm.ko license:GPL author: Qumranet version:

[kvm-devel] [PATCH] KVM Portability: Recaculate mmu pages needed for every memory region change.

2007-11-20 Thread Zhang, Xiantao
From: Zhang Xiantao <[EMAIL PROTECTED]> Date: Tue, 20 Nov 2007 13:11:38 +0800 Subject: [PATCH] KVM Portability: Recaculate mmu pages needed for every memory region change. Signed-off-by: Zhang Xiantao <[EMAIL PROTECTED]> --- drivers/kvm/kvm_main.c | 21 - drivers/kvm/mmu.c

Re: [kvm-devel] [RFC] virtio-blk PCI backend

2007-11-20 Thread Arnd Bergmann
On Tuesday 20 November 2007, Avi Kivity wrote: > > > > > Sorry for being late in this thread. > > We (s390) will need a hypercall as we do not have port I/O. I think it > > should be > > possible to default to hypercall on s390 and use pio everywhere else. > >   > > Or be generic: advertise the

Re: [kvm-devel] [PATCH] discard MSR writes

2007-11-20 Thread Amit Shah
On Tuesday 20 November 2007 15:42:35 Avi Kivity wrote: > Amit Shah wrote: > > On Tuesday 20 November 2007 15:17:54 Avi Kivity wrote: > >> Amit Shah wrote: > >>> On Tuesday 20 November 2007 00:38:05 Markus Rechberger wrote: > this patch discards MSR writes to the Performance Event-Select >

Re: [kvm-devel] [PATCH] discard MSR writes

2007-11-20 Thread Amit Shah
On Tuesday 20 November 2007 15:17:54 Avi Kivity wrote: > Amit Shah wrote: > > On Tuesday 20 November 2007 00:38:05 Markus Rechberger wrote: > >> this patch discards MSR writes to the Performance Event-Select > >> Registers, this is the first issue why vista seems to fail although now > >> vista end

Re: [kvm-devel] Migration doesn't working at all for me

2007-11-20 Thread Avi Kivity
Anton Patrushev wrote: > [EMAIL PROTECTED] ~]# uname -a > Linux localhost.localdomain 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 > EDT 2007 i686 i686 i386 GNU/Linux > > [EMAIL PROTECTED] ~]# modinfo kvm > filename: /lib/modules/2.6.20-1.2320.fc5smp/extra/kvm.ko > license:GPL > a

Re: [kvm-devel] [PATCH] discard MSR writes

2007-11-20 Thread Avi Kivity
Amit Shah wrote: > On Tuesday 20 November 2007 00:38:05 Markus Rechberger wrote: > >> this patch discards MSR writes to the Performance Event-Select >> Registers, this is the first issue why vista seems to fail although now >> vista ends up in an endless loop a bit later. >> Qemu currently also

Re: [kvm-devel] [PATCH 0/7] Move x86 code out of include/linux/kvm.h

2007-11-20 Thread Avi Kivity
Jerone Young wrote: > This set of patches move structres & definitions that > are x86 specific from include/linux/kvm.h to inclue/asm-x86/kvm.h. > Applied all, thanks. -- error compiling committee.c: too many arguments to function ---

[kvm-devel] [PATCH] KVM Portability : Spliting kvm_set_memory_region.

2007-11-20 Thread Zhang, Xiantao
From: Zhang Xiantao <[EMAIL PROTECTED]> Date: Tue, 20 Nov 2007 16:25:04 +0800 Subject: [PATCH] KVM Portability : Spliting kvm_set_memory_region. Moving !user_alloc case to kvm_arch to avoid unnecessary code logic in non-x86 platform. Signed-off-by: Zhang Xiantao <[EMAIL PROTECTED]> --- drivers/kvm

Re: [kvm-devel] [PATCH 0/7] Move x86 code out of include/linux/kvm.h

2007-11-20 Thread Zhang, Xiantao
Jerone Young wrote: > This set of patches move structres & definitions that > are x86 specific from include/linux/kvm.h to inclue/asm-x86/kvm.h. > > Missing from these patches is exactly how to move the IOCTL > definitions while keeping things in order. I'll disscuss this on the > list. Should b

Re: [kvm-devel] [PATCH 0/7] Move x86 code out of include/linux/kvm.h

2007-11-20 Thread Carsten Otte
Jerone Young wrote: > This set of patches move structres & definitions that > are x86 specific from include/linux/kvm.h to inclue/asm-x86/kvm.h. > > Missing from these patches is exactly how to move the IOCTL definitions > while keeping things in order. I'll disscuss this on the list. > > Signed-

Re: [kvm-devel] Migration doesn't working at all for me

2007-11-20 Thread Izik Eidus
Avi Kivity wrote: > Anton Patrushev wrote: > >> [EMAIL PROTECTED] ~]# uname -a >> Linux localhost.localdomain 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 >> EDT 2007 i686 i686 i386 GNU/Linux >> >> [EMAIL PROTECTED] ~]# modinfo kvm >> filename: /lib/modules/2.6.20-1.2320.fc5smp/extra/k

Re: [kvm-devel] Migration doesn't working at all for me

2007-11-20 Thread Avi Kivity
Izik Eidus wrote: >> >> Probably due to this being a 32-bit host. We'll look into it. >> > no avi, it related to the new userspace allocation & qemu new mapping > that we use > it can be fixed very easily but i talked with uri and we agreed to fix > it when he get the migration more stable on

[kvm-devel] [ANNOUNCE] kvm-53 release

2007-11-20 Thread Avi Kivity
Most notable is that an fpu leak on AMD has been plugged. Currently this has some performance impact; next release should restore performance while maintaining correctness. Changes from kvm-52: - testsuite: exit on end of test - batch mode for kvm_stat script - compile fixes (Carlo Marcelo Aren

Re: [kvm-devel] [PATCH] discard MSR writes

2007-11-20 Thread Avi Kivity
Markus Rechberger wrote: > this patch discards MSR writes to the Performance Event-Select > Registers, this is the first issue why vista seems to fail although > now vista ends up in an endless loop a bit later. > Qemu currently also discards those writes. > > Signed-off-by: Joerg Roedel <[EMAIL

Re: [kvm-devel] [PATCH 0 of 3] cosmetic fixes

2007-11-20 Thread Avi Kivity
Hollis Blanchard wrote: > These are a few fixes to minor/cosmetic issues I've stumbled across recently. > > Thanks, applied all three. -- error compiling committee.c: too many arguments to function - This SF.net email i

Re: [kvm-devel] [RFC] virtio-blk PCI backend

2007-11-20 Thread Avi Kivity
Christian Borntraeger wrote: > Am Freitag, 9. November 2007 schrieb Dor Laor: > >> I believe that the network interface will quickly go to the kernel since >> copy takes most of the >> cpu time and qemu does not support scatter gather dma at the moment. >> Nevertheless using pio seems good enou

Re: [kvm-devel] [PATCH][RFC] Struct kvm split

2007-11-20 Thread Avi Kivity
Hollis Blanchard wrote: > I was very confused until I realized you're only dealing with struct > kvm, not struct kvm_vcpu. I actually started the kvm_vcpu work last > week, and it is a much larger patch. :) > It can be probably done in parts with members moved off to x86-land incrementally.

Re: [kvm-devel] [PATCH] discard MSR writes

2007-11-20 Thread Avi Kivity
Amit Shah wrote: > On Tuesday 20 November 2007 15:17:54 Avi Kivity wrote: > >> Amit Shah wrote: >> >>> On Tuesday 20 November 2007 00:38:05 Markus Rechberger wrote: >>> this patch discards MSR writes to the Performance Event-Select Registers, this is the first issue why vis

Re: [kvm-devel] [PATCH] discard MSR writes

2007-11-20 Thread Avi Kivity
Amit Shah wrote: > On Tuesday 20 November 2007 15:42:35 Avi Kivity wrote: > >> Amit Shah wrote: >> >>> On Tuesday 20 November 2007 15:17:54 Avi Kivity wrote: >>> Amit Shah wrote: > On Tuesday 20 November 2007 00:38:05 Markus Rechberger wrote: > >

Re: [kvm-devel] [PATCH 7/24] consolidate msr.h

2007-11-20 Thread Rusty Russell
On Tuesday 20 November 2007 17:16:45 Steven Rostedt wrote: > On Tue, 20 Nov 2007, Ingo Molnar wrote: > > i dont think there's ever any true need (and good cause) to force > > integer type casts like that at the callee site. > > Unless you mean we should do something like this: > > static inline voi

Re: [kvm-devel] [RFC] virtio-blk PCI backend

2007-11-20 Thread Carsten Otte
Arnd Bergmann wrote: > Not sure if I'm following the reasoning here. Shouldn't the method be > inherent to the virtio bus driver? > > When you use a PCI based virtio bus, the natural choice would be PIO > in some way, but you could also have a different virtio implementation > on PCI that uses hca

Re: [kvm-devel] [PATCH] KVM: SVM: Fix FPU leak and re-enable lazy FPU switching

2007-11-20 Thread Avi Kivity
Amit Shah wrote: > The clts code didn't use set_cr0 properly, so our lazy FPU > processing wasn't being done by the clts instruction at all. > > This fixes all the FPU leaks, so re-enabling lazy FPU > optimization. > Applied, thanks. -- error compiling committee.c: too many arguments to func

Re: [kvm-devel] [PATCH] discard MSR writes

2007-11-20 Thread Avi Kivity
Markus Rechberger wrote: > I also discussed this with Joerg, since Qemu doesn't handle those MSR > writes at the moment we think it's ok temporary. Lateron it should be > emulated (but we're hunting a different issue at the moment). Our > perfmon guys would also prefer a proper emulation. > The

Re: [kvm-devel] [PATCH] KVM Portability : Spliting kvm_set_memory_region.

2007-11-20 Thread Avi Kivity
Zhang, Xiantao wrote: > From: Zhang Xiantao <[EMAIL PROTECTED]> > Date: Tue, 20 Nov 2007 16:25:04 +0800 > Subject: [PATCH] KVM Portability : Spliting kvm_set_memory_region. > Moving !user_alloc case to kvm_arch to avoid unnecessary > code logic in non-x86 platform. > Signed-off-by: Zhang Xiantao <[

Re: [kvm-devel] [PATCH] discard MSR writes

2007-11-20 Thread Markus Rechberger
Avi Kivity wrote: > Amit Shah wrote: >> On Tuesday 20 November 2007 15:42:35 Avi Kivity wrote: >> >>> Amit Shah wrote: >>> On Tuesday 20 November 2007 15:17:54 Avi Kivity wrote: > Amit Shah wrote: > >> On Tuesday 20 November 2007 00:38:05 Markus Rechberger

Re: [kvm-devel] [PATCH] KVM Portability : Spliting kvm_set_memory_region.

2007-11-20 Thread Carsten Otte
Zhang, Xiantao wrote: > From: Zhang Xiantao <[EMAIL PROTECTED]> > Date: Tue, 20 Nov 2007 16:25:04 +0800 > Subject: [PATCH] KVM Portability : Spliting kvm_set_memory_region. > Moving !user_alloc case to kvm_arch to avoid unnecessary > code logic in non-x86 platform. > Signed-off-by: Zhang Xiantao <[

Re: [kvm-devel] KVM Test result, kernel 90af65.. , userspace ad220a.

2007-11-20 Thread Avi Kivity
Zhao, Yunfeng wrote: > > Hi, all, > > This is today's KVM test result against kvm.git > 9fbcc4a1b7cf873a5aa1a357320fb82d588aa316 and kvm-userspace.git > 14892fe1817712ff8555a9de474165e9d38d1b90. > > One new issue has been found: > > 1. Booting multi guests may cause 64bit host to crash > > https:

Re: [kvm-devel] [PATCH 3/3] virtio PCI device

2007-11-20 Thread Avi Kivity
Anthony Liguori wrote: > This is a PCI device that implements a transport for virtio. It allows virtio > devices to be used by QEMU based VMMs like KVM or Xen. > > + > +/* the notify function used when creating a virt queue */ > +static void vp_notify(struct virtqueue *vq) > +{ > + struct virt

Re: [kvm-devel] [PATCH 3/3] virtio PCI device

2007-11-20 Thread Anthony Liguori
Avi Kivity wrote: > Anthony Liguori wrote: >> This is a PCI device that implements a transport for virtio. It >> allows virtio >> devices to be used by QEMU based VMMs like KVM or Xen. >> >> + >> +/* the notify function used when creating a virt queue */ >> +static void vp_notify(struct virtqueue

Re: [kvm-devel] [PATCH 3/3] virtio PCI device

2007-11-20 Thread Avi Kivity
Anthony Liguori wrote: > Avi Kivity wrote: > >> Anthony Liguori wrote: >> >>> This is a PCI device that implements a transport for virtio. It >>> allows virtio >>> devices to be used by QEMU based VMMs like KVM or Xen. >>> >>> + >>> +/* the notify function used when creating a virt queue

[kvm-devel] [ kvm-Bugs-1835207 ] Windows 2000 setup fails on AMD

2007-11-20 Thread SourceForge.net
Bugs item #1835207, was opened at 2007-11-20 17:27 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1835207&group_id=180599 Please note that this message will contain a full copy

[kvm-devel] [ kvm-Bugs-1835211 ] SUSE Linux 9.1 Setup fails on AMD

2007-11-20 Thread SourceForge.net
Bugs item #1835211, was opened at 2007-11-20 17:33 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1835211&group_id=180599 Please note that this message will contain a full copy

[kvm-devel] [PATCH] 2/10 KVM Portability: Moving naliases and aliases fileds to kvm_x86.

2007-11-20 Thread Zhang, Xiantao
>From fbeb4f42542b7fd996331529a8e3afe3f62ee462 Mon Sep 17 00:00:00 2001 From: Zhang Xiantao <[EMAIL PROTECTED]> Date: Tue, 20 Nov 2007 22:45:32 +0800 Subject: [PATCH] KVM Portability: Splitting kvm structure Moving naliases and aliases fileds to kvm_x86. Signed-off-by: Zhang Xiantao <[EMAIL PROTECT

[kvm-devel] [PATCH] 1/10 KVM Portability: Introducing kvm_x86 to hold x86-specific fields

2007-11-20 Thread Zhang, Xiantao
>From 32bc765f65184f6612549a52ead86c740d0ce5a9 Mon Sep 17 00:00:00 2001 From: Zhang Xiantao <[EMAIL PROTECTED]> Date: Tue, 20 Nov 2007 22:40:04 +0800 Subject: [PATCH] KVM Portability: Spliting kvm structure. Introduing kvm_x86 structure to hold x86_specific fileds, but only infrastructure is implem

[kvm-devel] [PATCH] 9/10 KVM Portability: Moving the filed stat to kvm_x86.

2007-11-20 Thread Zhang, Xiantao
>From 7c007a478b0369c54e4efcc05311c51b8fc8f037 Mon Sep 17 00:00:00 2001 From: Zhang Xiantao <[EMAIL PROTECTED]> Date: Tue, 20 Nov 2007 23:41:44 +0800 Subject: [PATCH] KVM Portability: Splitting kvm strcuture Moving the filed stat to kvm_x86. Signed-off-by: Zhang Xiantao <[EMAIL PROTECTED]> --- dri

[kvm-devel] [PATCH]10/10 Moving descriptor_table definition to x86.h

2007-11-20 Thread Zhang, Xiantao
>From f23cb5d86802eddcc8330dcf966c44e086f9227a Mon Sep 17 00:00:00 2001 From: Zhang Xiantao <[EMAIL PROTECTED]> Date: Tue, 20 Nov 2007 23:43:09 +0800 Subject: [PATCH] Moving descriptor_table definition to x86.h Signed-off-by: Zhang Xiantao <[EMAIL PROTECTED]> --- drivers/kvm/kvm.h |5 - dr

[kvm-devel] [PATCH] 6/10 KVM Portability:Moving fields vpic and vioapic to kvm_x86.

2007-11-20 Thread Zhang, Xiantao
>From 52a33b98a3c53b4e888f71b3c149cf7cec88b026 Mon Sep 17 00:00:00 2001 From: Zhang Xiantao <[EMAIL PROTECTED]> Date: Tue, 20 Nov 2007 23:23:50 +0800 Subject: [PATCH] KVM Portability: Splitting kvm structure. Moving fields vpic and vioapic to kvm_x86. Signed-off-by: Zhang Xiantao <[EMAIL PROTECTED]

[kvm-devel] [PATCH] 5/10 KVM Portability: Moving out definitions related to mmu from kvm.h

2007-11-20 Thread Zhang, Xiantao
>From 32c70b0f1b605585d9e296bc8c5431f40a194ba7 Mon Sep 17 00:00:00 2001 From: Zhang Xiantao <[EMAIL PROTECTED]> Date: Tue, 20 Nov 2007 23:13:33 +0800 Subject: [PATCH] KVM Portability: Moving out definitions related to mmu from kvm.h Signed-off-by: Zhang Xiantao <[EMAIL PROTECTED]> --- drivers/kvm/

[kvm-devel] [PATCH] 3/10 KVM Portability: Moving out kvm_mem_alias, and unalias_gfn definitions from common code.

2007-11-20 Thread Zhang, Xiantao
From: Zhang Xiantao <[EMAIL PROTECTED]> Date: Tue, 20 Nov 2007 22:54:22 +0800 Subject: [PATCH] KVM Portability: Moving out kvm_mem_alias, and unalias_gfn definitions from common code. Signed-off-by: Zhang Xiantao <[EMAIL PROTECTED]> --- drivers/kvm/kvm.h |6 -- drivers/kvm/kvm_main.c

[kvm-devel] [PATCH] 8/10 KVM Portability: Moving the filed apic_access_page to kvm_x86.

2007-11-20 Thread Zhang, Xiantao
>From 50b1594999ba046c3de73e7fccbee44816c5708c Mon Sep 17 00:00:00 2001 From: Zhang Xiantao <[EMAIL PROTECTED]> Date: Tue, 20 Nov 2007 23:34:14 +0800 Subject: [PATCH] KVM Portability: Splitting kvm structure. Moving the filed apic_access_page to kvm_x86. Signed-off-by: Zhang Xiantao <[EMAIL PROTECT

Re: [kvm-devel] [PATCH] KVM Portability split: Splitting kvm structure (V2)

2007-11-20 Thread Hollis Blanchard
NAK. I sent you a patch queue yesterday that replaces this patch. (Unfortunately I didn't copy kvm-devel due to technical error; resending in a moment.) -- Hollis Blanchard IBM Linux Technology Center On Tue, 2007-11-20 at 10:29 +0800, Zhang, Xiantao wrote: > From: Zhang xiantao <[EMAIL PROTECTE

[kvm-devel] [PATCH]7/10 KVM Portability:Moving the filed tss_addr to kvm_x86.

2007-11-20 Thread Zhang, Xiantao
>From e3c2f0fcf9264d03a90a788fe5770ac9b8ce44d9 Mon Sep 17 00:00:00 2001 From: Zhang Xiantao <[EMAIL PROTECTED]> Date: Tue, 20 Nov 2007 23:31:38 +0800 Subject: [PATCH] KVM Portability: Splitting kvm structure. Moving the filed tss_addr to kvm_x86. Signed-off-by: Zhang Xiantao <[EMAIL PROTECTED]> ---

[kvm-devel] [PATCH] 0/10 Splitting kvm structure (V3)

2007-11-20 Thread Zhang, Xiantao
Hi Avi, I rebased the series of patches for splitting kvm structure. For more readability, I split them into small ones. Xiantao - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual St

[kvm-devel] [PATCH] 4/10 KVM Portability: Moving fileds related to mmu into kvm_x86.

2007-11-20 Thread Zhang, Xiantao
>From 30e5badef53e8e5edf72ba2dbc6b9f1ccfd2aaa0 Mon Sep 17 00:00:00 2001 From: Zhang Xiantao <[EMAIL PROTECTED]> Date: Tue, 20 Nov 2007 23:06:06 +0800 Subject: [PATCH] KVM Portability: Spliting kvm structure Moving fileds related to mmu into kvm_x86. Signed-off-by: Zhang Xiantao <[EMAIL PROTECTED]>

[kvm-devel] [PATCH 2 of 3] Move vm_stat and apic_access_page to kvm_x86

2007-11-20 Thread Hollis Blanchard
Signed-off-by: Hollis Blanchard <[EMAIL PROTECTED]> --- 5 files changed, 18 insertions(+), 13 deletions(-) drivers/kvm/kvm.h |2 -- drivers/kvm/mmu.c | 14 -- drivers/kvm/vmx.c | 11 +++ drivers/kvm/x86.c |2 +- drivers/kvm/x86.h |2 ++ diff --git a/drivers/kvm/kvm

[kvm-devel] [PATCH 0 of 3] create kvm_x86

2007-11-20 Thread Hollis Blanchard
These patches are based on Xiantao's work to create struct kvm_x86. Patch 1 replaces his "KVM Portability split: Splitting kvm structure (V2)", and patches 2 and 3 build on it. 9 files changed, 180 insertions(+), 116 deletions(-) drivers/kvm/i8259.c|1 drivers/kvm/ioapic.c | 16 -

[kvm-devel] [PATCH 1 of 3] Use kvm_x86 to hold x86 specific kvm fields

2007-11-20 Thread Hollis Blanchard
Signed-off-by: Zhang xiantao <[EMAIL PROTECTED]> Signed-off-by: Hollis Blanchard <[EMAIL PROTECTED]> --- Changes from Xiantao's patch: - Fix whitespace - Reorder variables to avoid stack padding - Leave descriptor_table relocation for another patch 8 files changed, 132 insertions(+), 85 deletions(

Re: [kvm-devel] [PATCH] 0/10 Splitting kvm structure (V3)

2007-11-20 Thread Hollis Blanchard
On Wed, 2007-11-21 at 00:32 +0800, Zhang, Xiantao wrote: > Hi Avi, > I rebased the series of patches for splitting kvm structure. For > more readability, I split them into small ones. You still seem to be ignoring my comments on these patches. I spent some time to respin your original patch

[kvm-devel] [PATCH] Export the symbol empty_zero_page on the 32-bit x86 architecture

2007-11-20 Thread Theodore Ts'o
The latest KVM driver wants to use the empty_zero_page symbol, and it's not exported in 32-bit x86 (although it is exported by x86_64, s390, and uml architectures). Signed-off-by: "Theodore Ts'o" <[EMAIL PROTECTED]> --- arch/x86/kernel/i386_ksyms_32.c |2 ++ 1 files changed, 2 insertions(+),

[kvm-devel] success running XPSP2(g32 on h64) with kvm-53-11-gcc02b6a, was BSOD-land before

2007-11-20 Thread Cyrille Chépélov
Hi all, I would like to report that using the following setup: git kvm-userspace: kvm-53, kvm: kvm-53-11-gcc02b6a on my 4400+ (Athlon64-X2) debian amd64 box, and contrary to kvm-52, I can now successfully run Windows XP SP2 (32-bit) guests! Previously, the guests hardly ever survived 3 m

[kvm-devel] [PATCH] KVM_SET_MEMORY_REGION hang in linux 2.6.23.y

2007-11-20 Thread Marko Kohtala
Wait for right amount of tlb flushes. Completed can be larger than needed and therefore the loop waiting them to match never ends. Signed-off-by: Marko Kohtala <[EMAIL PROTECTED]> --- This solves kernel lockup in KVM_SET_MEMORY_REGION ioctl with Linux 2.6.23.8 and before at kvm-52 start. Not nee

Re: [kvm-devel] [PATCH 3/3] virtio PCI device

2007-11-20 Thread Anthony Liguori
Avi Kivity wrote: > Anthony Liguori wrote: >> Avi Kivity wrote: >> >>> Anthony Liguori wrote: >>> This is a PCI device that implements a transport for virtio. It allows virtio devices to be used by QEMU based VMMs like KVM or Xen. + +/* the notify function used

Re: [kvm-devel] [PATCH] KVM Portability split: Splitting kvm structure (V2)

2007-11-20 Thread Zhang, Xiantao
Hollis Blanchard wrote: > NAK. I sent you a patch queue yesterday that replaces this patch. > (Unfortunately I didn't copy kvm-devel due to technical error; > resending in a moment.) Hi Hollis, Unfortunately, I didn't receive this mail you mentioned :(. Does it have new changes except mov

[kvm-devel] Does KVM bios support DMI ?

2007-11-20 Thread walter tech
Hi, guys, My Thinkpad T60 came with an authentic windows xp, but the version is for IBM/lenovo only, the Windows XP need to read bios DMI to match the vendor name and manufacture Name to be activated. I dont want to buy another M$ window xp for KVM, just what to change the bios info to meet the c

Re: [kvm-devel] KVM Test result, kernel 90af65.. , userspace ad220a.

2007-11-20 Thread Izik Eidus
Zhao, Yunfeng wrote: > > 4. Cannot boot 32bit smp RHEL5.1 guest with nic enabled > > Only "-on-kvm" can boot it. > > https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1812043&group_id=180599 > > > wh

Re: [kvm-devel] Does KVM bios support DMI ?

2007-11-20 Thread Avi Kivity
walter tech wrote: > Hi, guys, > > My Thinkpad T60 came with an authentic windows xp, but the version is > for IBM/lenovo only, the Windows XP need to read bios DMI to match the > vendor name and manufacture Name to be activated. I dont want to buy > another M$ window xp for KVM, just what to chan

Re: [kvm-devel] [PATCH] KVM_SET_MEMORY_REGION hang in linux 2.6.23.y

2007-11-20 Thread Avi Kivity
Marko Kohtala wrote: > Wait for right amount of tlb flushes. Completed can be larger than > needed and therefore the loop waiting them to match never ends. > > Signed-off-by: Marko Kohtala <[EMAIL PROTECTED]> > > --- > > This solves kernel lockup in KVM_SET_MEMORY_REGION ioctl with Linux > 2.6.23.8

Re: [kvm-devel] [PATCH 3/3] virtio PCI device

2007-11-20 Thread Avi Kivity
Anthony Liguori wrote: > Avi Kivity wrote: > >> Anthony Liguori wrote: >> >>> Avi Kivity wrote: >>> >>> Anthony Liguori wrote: > This is a PCI device that implements a transport for virtio. It > allows virtio > devices to be used by QEMU ba

[kvm-devel] [PATCH] qemu: add definition for kvm_qemu_check_extension to qemu-kvm.h

2007-11-20 Thread Carlo Marcelo Arenas Belon
The following patch complement c79baa60813812e8d0e34d998d609e8 to avoid the implicit declaration of kvm_qemu_check_extension as shown by : kvm-53/qemu/vl.c: In function `main': kvm-53/qemu/vl.c:8675: warning implicit declaration of function `kvm_qemu_check_extension' kvm-53/qemu/hw/pc.c:72

[kvm-devel] [PATCH]KVM: VMX: Remove the secondary execute control depends on irqchip

2007-11-20 Thread Sheng Yang
From 140114fbd60afaf08fde429d05c280d88205051b Mon Sep 17 00:00:00 2001 From: Sheng Yang <[EMAIL PROTECTED]> Date: Wed, 21 Nov 2007 14:33:25 +0800 Subject: [PATCH] KVM: VMX: Remove the secondary execute control depends on irqchip The state of SECONDARY_VM_EXEC_CONTROL shouldn't depend on in-kernel