Re: [kvm-devel] [ANNOUNCE] kvm-51 release

2007-11-11 Thread Avi Kivity
david ahern wrote: I found that I had to move to a newer kernel (2.6.23.1 is what I used) to get SMP guests to boot on RHEL5 hosts. It appears to be an issue with the host kernel. Might also be a problem with the smp_call_function_single() emulation. david Farkas Levente wrote:

Re: [kvm-devel] [ANNOUNCE] kvm-51 release

2007-11-11 Thread Avi Kivity
Farkas Levente wrote: Avi Kivity wrote: If you're having trouble on AMD systems, please try this out. this version worse than kvm-50:-( setup: - host: - Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz - Intel S3000AHV - 8GB RAM - CentOS-5 - kernel-2.6.18-8.1.14.el5

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

2007-11-11 Thread Avi Kivity
Anthony Liguori wrote: Avi Kivity wrote: There's no reason that the PIO operations couldn't be handled in the kernel. You'll already need some level of cooperation in userspace unless you plan on implementing the PCI bus in kernel space too. It's easy enough in the pci_map function in

Re: [kvm-devel] [PATCH 11 of 17] Move msrs functions to libkvm-x86.c

2007-11-11 Thread Avi Kivity
Hollis Blanchard wrote: On Thu, 2007-11-08 at 07:54 +0200, Avi Kivity wrote: Carlo Marcelo Arenas Belon wrote: On Tue, Nov 06, 2007 at 10:48:52AM -0600, Jerone Young wrote: Move msrs functions to libkvm-x86.c This patch moves functions: kvm_msr_list move

Re: [kvm-devel] Bug: cpu0 unhandled rdmsr: 0x1900 and inject_general_protection

2007-11-11 Thread Avi Kivity
TJ wrote: Avi, thanks. The patch fixes the issue for the XO image and there are no more MSR read errors. I'm still not sure why when starting the image with kvm enabled the drawing of the GRUB screen is so painfully slow, but without kvm it is fast. Grub probably uses one of the 4-bit

Re: [kvm-devel] [PATCH] Fix declerations that should be in kvm-common.h not in kvm-x86.h

2007-11-11 Thread Avi Kivity
Jerone Young wrote: # HG changeset patch # User Jerone Young [EMAIL PROTECTED] # Date 1194543880 21600 # Node ID f87e6f60ddd69cb0ee4e0bbcaed657d2f12311ce # Parent d6fa0d16fa60ee5083877fec698b69cea840d0b0 Fix declerations that should be in kvm-common.h not in kvm-x86.h During the first

Re: [kvm-devel] [PATCH] Fix building of kvmctl

2007-11-11 Thread Avi Kivity
Jerone Young wrote: # HG changeset patch # User Jerone Young [EMAIL PROTECTED] # Date 1194551969 21600 # Node ID c08b2667a95ecd85effb1d5f5d84e235f9e8d6cc # Parent d6fa0d16fa60ee5083877fec698b69cea840d0b0 Fix building of kvmctl This patch creates the make rule needed to for the linker to

Re: [kvm-devel] [PATCH 2/3] kvmclock - the host part.

2007-11-11 Thread Avi Kivity
Glauber de Oliveira Costa wrote: This is the host part of kvm clocksource implementation. As it does not include clockevents, it is a fairly simple implementation. We only have to register a per-vcpu area, and start writting to it periodically. Missing live migration support (a way for

Re: [kvm-devel] Cannot install Win XP on AMD X2 with kvm-51

2007-11-11 Thread Avi Kivity
Amit Shah wrote: On Friday 09 November 2007 22:49:18 Werner Opriel wrote: Version: kvm-50 and kvm-51 Problem: I am not able to install a Win XP SP2 guest. The Guest always crashes while installing Windows XP devices at T-37 minutes with a blue-screen and IRQL_NOT_LES_OR_EQUAL.

Re: [kvm-devel] Add WBINVD exit support

2007-11-11 Thread Avi Kivity
Dong, Eddie wrote: Add wbinvd VM Exit support to prepare for pass-through device cache emulation and also enhance real time responsibility. Applied, thanks. For our real-time users, when will processors supporting this be available? -- error compiling committee.c: too many

Re: [kvm-devel] [PATCH]3/5 Using kvm_arch prefix to definefunctions, and replace

2007-11-11 Thread Avi Kivity
Zhang, Xiantao wrote: - hardware enable/disable/setup/unsetup/check_processor_compat does not make any sense for us: all CPUs that have been sold since the 1970s have proper hardware virtualization, and there's nothing to enable - it just works. OK, Maybe we can move them to

Re: [kvm-devel] [PATCH]3/5 Using kvm_arch prefix to define functions, and replace

2007-11-11 Thread Avi Kivity
Carsten Otte wrote: Hollis Blanchard wrote: On Thu, 2007-11-08 at 14:49 +0100, Carsten Otte wrote: Zhang, Xiantao wrote: +void kvm_arch_vcpu_free(struct kvm_vcpu *vcpu); +void kvm_arch_vcpu_decache(struct kvm_vcpu *vcpu); +void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int

Re: [kvm-devel] rsyncing to Guest Ubuntu System

2007-11-11 Thread Avi Kivity
Clive Stewell wrote: I have been testing KVM for eventual use in a production server environment and am running into some trouble when I attempt to rsync my data from the current production system to the test system. Specifically, whenever I hit a large file, the guest freezes and I get

Re: [kvm-devel] [ANNOUNCE] kvm-51 release

2007-11-11 Thread Farkas Levente
Avi Kivity wrote: Farkas Levente wrote: Avi Kivity wrote: If you're having trouble on AMD systems, please try this out. this version worse than kvm-50:-( setup: - host: - Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz - Intel S3000AHV - 8GB RAM - CentOS-5 -

Re: [kvm-devel] git-clone error?

2007-11-11 Thread Avi Kivity
Chen Xi wrote: Hi everybody, I'm trying to clone the repository: git-clone http://www.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git kvm Fail on this: error: Couldn't get http://www.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git/refs/heads/kvm-updates for heads/kvm-updates The

Re: [kvm-devel] KVM Test result, kernel 1805646.. , userspace c79baa60.

2007-11-11 Thread Avi Kivity
Zhao, Yunfeng wrote: Old issues: Five Windows issues: 2. Cannot boot 64bit Vista -no-kvm-irqchip has the same issue. And -no-kvm gets blue screen. https://sourceforge.net/tracker/index.php?func=detailaid=1812072group_ id=180599atid=893831 This ought to be fixed now (some bugs were

Re: [kvm-devel] git-clone error?

2007-11-11 Thread Avi Kivity
Avi Kivity wrote: Chen Xi wrote: Hi everybody, I'm trying to clone the repository: git-clone http://www.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git kvm Fail on this: error: Couldn't get http://www.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git/refs/heads/kvm-updates for

Re: [kvm-devel] [ANNOUNCE] kvm-51 release

2007-11-11 Thread Avi Kivity
Farkas Levente wrote: Avi Kivity wrote: Farkas Levente wrote: Avi Kivity wrote: If you're having trouble on AMD systems, please try this out. this version worse than kvm-50:-( setup: - host: - Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz - Intel

Re: [kvm-devel] [ANNOUNCE] kvm-51 release

2007-11-11 Thread david ahern
I now have hosts running both 32-bit and 64-bit versions of RHEL5.1. I will retry SMP guests on the RHEL5 kernel, but at present kvm-51 does not compile: make -C kernel make[1]: Entering directory `/opt/kvm/kvm-51/kernel' make -C /lib/modules/2.6.18-53.el5/build M=`pwd` $@ make[2]: Entering

Re: [kvm-devel] [ANNOUNCE] kvm-51 release

2007-11-11 Thread david ahern
In RHEL 5.1 linux/notifier.h defines: #define CPU_TASKS_FROZEN0x0010 #define CPU_ONLINE_FROZEN (CPU_ONLINE | CPU_TASKS_FROZEN) #define CPU_DEAD_FROZEN (CPU_DEAD | CPU_TASKS_FROZEN) which means in kvm-51/kernel/external-module-compat.h the '#ifndef CPU_TASKS_FROZEN' needs to have a

[kvm-devel] Supporting Nvidia and ATI

2007-11-11 Thread Ghiora Drori
Hi, I am interested in supporting NVDIA, ATI, Intel and presumably other display cards when running a windows guest KVM. The idea is to get Windows XP games to work properly under kvm when being hosted by Linux. The screen on Linux can have more then one X windows server running on different TTYs

Re: [kvm-devel] [ANNOUNCE] kvm-51 release

2007-11-11 Thread Avi Kivity
david ahern wrote: In RHEL 5.1 linux/notifier.h defines: #define CPU_TASKS_FROZEN0x0010 #define CPU_ONLINE_FROZEN (CPU_ONLINE | CPU_TASKS_FROZEN) #define CPU_DEAD_FROZEN (CPU_DEAD | CPU_TASKS_FROZEN) which means in kvm-51/kernel/external-module-compat.h the '#ifndef

Re: [kvm-devel] [ANNOUNCE] kvm-51 release

2007-11-11 Thread Farkas Levente
Avi Kivity wrote: david ahern wrote: In RHEL 5.1 linux/notifier.h defines: #define CPU_TASKS_FROZEN0x0010 #define CPU_ONLINE_FROZEN (CPU_ONLINE | CPU_TASKS_FROZEN) #define CPU_DEAD_FROZEN (CPU_DEAD | CPU_TASKS_FROZEN) which means in kvm-51/kernel/external-module-compat.h the

Re: [kvm-devel] [ANNOUNCE] kvm-51 release

2007-11-11 Thread Avi Kivity
Farkas Levente wrote: With that change, kvm-51 compiles. I am still seeing 32-bit SMP guests hang on boot for both 32-bit and 64-bit hosts (again running RHEL5.1). I still don't. Can you test the attached patch? can you tell us which cpu, memory, host and guest os are you

Re: [kvm-devel] [ANNOUNCE] kvm-51 release

2007-11-11 Thread Farkas Levente
Avi Kivity wrote: Farkas Levente wrote: With that change, kvm-51 compiles. I am still seeing 32-bit SMP guests hang on boot for both 32-bit and 64-bit hosts (again running RHEL5.1). I still don't. Can you test the attached patch? can you tell us which cpu, memory, host and

[kvm-devel] Wiki downtime

2007-11-11 Thread Dor Laor
We'll have power shortage due to electricity work in the next 12 hours. The kvm wiki won't be available. Please hold your breath in the until tomorrow morning or use google's cache. Regards, Dor. - This SF.net email is

Re: [kvm-devel] [PATCH 2/6] virtio block driver for QEMU (v2)

2007-11-11 Thread Dor Laor
Anthony Liguori wrote: This patch implements a very naive virtio block device backend in QEMU. There's a lot of room for future optimization. We need to merge a -disk patch before we can provide a mechanism to expose this to users. Signed-off-by: Anthony Liguori [EMAIL PROTECTED] diff

Re: [kvm-devel] [PATCH 5/6] Remove hypercall driver (v2)

2007-11-11 Thread Dor Laor
Anthony Liguori wrote: I don't think there's any plans for this driver to every be used seriously as virtio seems like the agreed upon layer. So let's remove the code from the tree so I can use the drivers/ directory for something else. There's also some vmchannel cmdline parameter that

Re: [kvm-devel] [PATCH 4/6] virtio network driver for QEMU (v2)

2007-11-11 Thread Dor Laor
Anthony Liguori wrote: This patch implements a very naive virtio network device backend in QEMU. Even with this simple implementation, it get's about 3x the throughput of rtl8139. Of course, there's a whole lot of room for optimization to eliminate the unnecessary copying and support more

Re: [kvm-devel] [PATCH 24/24] make vsmp a paravirt client

2007-11-11 Thread Andi Kleen
On Fri, Nov 09, 2007 at 04:43:05PM -0200, Glauber de Oliveira Costa wrote: This patch makes vsmp a paravirt client. It now uses the whole infrastructure provided by pvops. When we detect we're running a vsmp box, we change the irq-related paravirt operations (and so, it have to happen quite

Re: [kvm-devel] [PATCH 2/6] virtio block driver for QEMU (v2)

2007-11-11 Thread Anthony Liguori
Dor Laor wrote: + +if (1) { +BlockDriverState *bs = bdrv_new(vda); +if (bdrv_open(bs, /home/anthony/images/linux.img, BDRV_O_SNAPSHOT)) +exit(1); Can you add a printf to the exit(1). I had to gdb the code to find why my qemu is not running no more (in earlier

Re: [kvm-devel] [PATCH 4/6] virtio network driver for QEMU (v2)

2007-11-11 Thread Anthony Liguori
Dor Laor wrote: Anthony Liguori wrote: This patch implements a very naive virtio network device backend in QEMU. Even with this simple implementation, it get's about 3x the throughput of rtl8139. Of course, there's a whole lot of room for optimization to eliminate the unnecessary

Re: [kvm-devel] [ANNOUNCE] kvm-51 release

2007-11-11 Thread david ahern
The patch worked for me -- rhel4 smp guests boot fine on stock RHEL5 hosts, both 32-bit and 64-bit. david Avi Kivity wrote: david ahern wrote: In RHEL 5.1 linux/notifier.h defines: #define CPU_TASKS_FROZEN0x0010 #define CPU_ONLINE_FROZEN (CPU_ONLINE | CPU_TASKS_FROZEN) #define

Re: [kvm-devel] Supporting Nvidia and ATI

2007-11-11 Thread Izik Eidus
Ghiora Drori wrote: Hi, I am interested in supporting NVDIA, ATI, Intel and presumably other display cards when running a windows guest KVM. The idea is to get Windows XP games to work properly under kvm when being hosted by Linux. The screen on Linux can have more then one X windows server

Re: [kvm-devel] Supporting Nvidia and ATI

2007-11-11 Thread Caleb Moore
On Sun, 2007-11-11 at 18:46 +0200, Ghiora Drori wrote: Hi, I am interested in supporting NVDIA, ATI, Intel and presumably other display cards when running a windows guest KVM. The idea is to get Windows XP games to work properly under kvm when being hosted by Linux. The screen on Linux

[kvm-devel] KVM Test result, kernel a798c61.. , userspace 5d6ea6b..

2007-11-11 Thread Zhao, Yunfeng
Hi, all This is today's KVM test result against kvm.git a798c61d96780e45f8489f9b0dce93c313edb814 and kvm-userspace.git 5d6ea6b370ff9aae1dd7671b71e89351749fbeee We still cannot boot any guests on PAE hosts. One old issue has been fixed, 8 issues still open. One issue has been fixed: 1. Cannot

Re: [kvm-devel] [PATCH] Fix declerations that should be in kvm-common.h not in kvm-x86.h

2007-11-11 Thread Jerone Young
On Sun, 2007-11-11 at 12:05 +0200, Avi Kivity wrote: Jerone Young wrote: # HG changeset patch # User Jerone Young [EMAIL PROTECTED] # Date 1194543880 21600 # Node ID f87e6f60ddd69cb0ee4e0bbcaed657d2f12311ce # Parent d6fa0d16fa60ee5083877fec698b69cea840d0b0 Fix declerations that

Re: [kvm-devel] Cannot install Win XP on AMD X2 with kvm-51

2007-11-11 Thread Amit Shah
On Sunday 11 November 2007 15:50:30 Avi Kivity wrote: Amit Shah wrote: On Friday 09 November 2007 22:49:18 Werner Opriel wrote: Version: kvm-50 and kvm-51 Problem: I am not able to install a Win XP SP2 guest. The Guest always crashes while installing Windows XP devices at T-37

Re: [kvm-devel] Cannot install Win XP on AMD X2 with kvm-51

2007-11-11 Thread Alexey Eremenko
This is strange, because I have XP on AMD-64 working fine on KVM-51. -Alexey - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration

[kvm-devel] 供应:剪板机、折弯机、卷板机、冲床、校平机

2007-11-11 Thread 安徽省三力机床制造有限公司
供应:剪板机、折弯机、卷板机、冲床、校平机 安徽省三力机床制造有限公司,属安徽省名牌、免检产品生产企业,安徽省高新技术企业,马鞍山市“专、精、特、新”企业,马鞍山市下岗失业职工再就业基地,介于南京、芜湖之间,坐落在著名的钢城马鞍山市,丰富的钢铁资源为公司的发展提供了得天独厚的优势。公司占地面积108000平方米,主要生产“大盛”牌系列剪板机、折弯机、卷板机、快速压力机、冲床、开卷校平机、型材弯曲机刀模具等产品,专业为航空、轻工、冶金、化工、建筑汽车、电力、装潢等行业提供所需要的专用机械和成套设备,产品销往全国各地和欧盟及东南亚地区并远销南非。    

Re: [kvm-devel] Cannot install Win XP on AMD X2 with kvm-51

2007-11-11 Thread Amit Shah
On Monday 12 November 2007 12:22:39 Alexey Eremenko wrote: This is strange, because I have XP on AMD-64 working fine on KVM-51. A pre-installed VM works just fine. The problem is with the installation. Does the installation succeed for you as well with kvm-51?