[kvm-devel] virtio with 2.6.25-rc8: problem with /dev/vda

2008-04-09 Thread Jun Koi
Hi, I am trying virtio: guest is running 2.6.25-rc8 kernel, with virtio compiled in. In Grub menu, I changed root=/dev/sda1 to: root=/dev/vda1. (That is guided by http://kvm.qumranet.com/kvmwiki/Virtio) However, I got booting error like /dev/vda1 doest exist..., so boot failure. How can I

Re: [kvm-devel] virtio with 2.6.25-rc8: problem with /dev/vda

2008-04-09 Thread Felix Leimbach
However, I got booting error like /dev/vda1 doest exist..., so boot failure. How can I fix this? make sure that your command line on the host looks like that: kvm -drive file=your-image,if=virtio,boot=on other stuff here And check that the guest has the following kernel option enabled:

[kvm-devel] problems with Ubuntu server amd64 (kernel 2.6.24) and Windows 2003 32bit as guest

2008-04-09 Thread Davide D'Amico
Hi, I'm new in the world of virtualization. I have the following setup: An Ubuntu amd64 Server (DELL PE 2950 with Dual Quad Xen 2Ghz) with 24GB DDR2 Ram onboard and a Perc 6/i SAS controller. I have a Windows 2003 32 bit guest that hangs up (i.e. not responding anymore) when I try to transfer a

Re: [kvm-devel] virtio with 2.6.25-rc8: problem with /dev/vda

2008-04-09 Thread Jun Koi
On 4/9/08, Felix Leimbach [EMAIL PROTECTED] wrote: However, I got booting error like /dev/vda1 doest exist..., so boot failure. How can I fix this? make sure that your command line on the host looks like that: kvm -drive file=your-image,if=virtio,boot=on other stuff here And check

Re: [kvm-devel] problems with Ubuntu server amd64 (kernel 2.6.24) and Windows 2003 32bit as guest

2008-04-09 Thread Izik Eidus
Davide D'Amico wrote: Hi, I'm new in the world of virtualization. I have the following setup: An Ubuntu amd64 Server (DELL PE 2950 with Dual Quad Xen 2Ghz) with 24GB DDR2 Ram onboard and a Perc 6/i SAS controller. I have a Windows 2003 32 bit guest that hangs up (i.e. not responding

[kvm-devel] [PATCH 2/5]Add kvm trace kernel support.

2008-04-09 Thread Liu, Eric E
From 1059e1b1c5bb8881bd82136ef8fb6a352f6bbf53 Mon Sep 17 00:00:00 2001 From: Feng(Eric) Liu [EMAIL PROTECTED] Date: Thu, 10 Apr 2008 08:47:53 -0400 Subject: [PATCH] KVM: Add kvm trace kernel support. When config KVM_TRACE, it allows user space app to read the trace of kvm related events through

[kvm-devel] [PATCH 0/5]Add kvm trace support v3

2008-04-09 Thread Liu, Eric E
Hi, Avi and all According to your comments from V2, I work out the new patchsets of kvm trace. Please help to review, Thanks. In this version, fix the issues you pointed out and add a new ioctl PAUSE to make user space app better to control trace stream. Hope it is useful for performance

[kvm-devel] [PATCH 3/5]Modify userspace Kbuild and kvm_stat for kvm trace

2008-04-09 Thread Liu, Eric E
From c950129e3876ac89b15af8f668976aa03142e802 Mon Sep 17 00:00:00 2001 From: Feng(Eric) Liu [EMAIL PROTECTED] Date: Thu, 10 Apr 2008 09:15:53 -0400 Subject: [PATCH] kvm: Modify Kbuild for kvm trace and ensure that kvm_stat can work when kvm trace is enabling by userspace app. Signed-off-by: Feng

[kvm-devel] hugetlbfs

2008-04-09 Thread Yunfeng Zhao
Hi, I meet problem to get hugetlbfs work on my test box. If i added --mem-path to qemu, the guest will always fail to boot with the error messages below printed on qemu console: ### ata0 master: ATA-0 Hard-Disk ( 0 MBytes) ata1 master: ATAPI-0 Device

[kvm-devel] [PATCH 4/5]Add a tool in userspace to collect trace data.

2008-04-09 Thread Liu, Eric E
From 3338918ad3d15550103047d18e24fcb1d8a4c0b3 Mon Sep 17 00:00:00 2001 From: Feng(Eric) Liu [EMAIL PROTECTED] Date: Thu, 10 Apr 2008 09:00:44 -0400 Subject: [PATCH] kvm: Add a tool kvmtrace for collecting binary data from relayfs. It is not an analysis tool. The code is based on blktrace.

[kvm-devel] [PATCH 5/5] The tool for parsing binary trace data and the formats file.

2008-04-09 Thread Liu, Eric E
From c22da0fa5b09ea7b9e6045a660eb1782afc5200a Mon Sep 17 00:00:00 2001 From: Feng(Eric) Liu [EMAIL PROTECTED] Date: Thu, 10 Apr 2008 09:34:20 -0400 Subject: [PATCH] kvm: kvmtrace_format parses the binary trace data from kvmtrace, and reformats it according to the rules in the file formats of

Re: [kvm-devel] hugetlbfs

2008-04-09 Thread Dor Laor
On Wed, 2008-04-09 at 17:26 +0800, Yunfeng Zhao wrote: Hi, I meet problem to get hugetlbfs work on my test box. If i added --mem-path to qemu, the guest will always fail to boot with the error messages below printed on qemu console: ### ata0 master:

Re: [kvm-devel] [PATCH] use NR_IRQS for irq count

2008-04-09 Thread Glauber Costa
Amit Shah wrote: * On Tuesday 08 April 2008 22:34:36 Glauber Costa wrote: Instead of artificially limiting irq numbers, use arch provided NR_IRQS Signed-off-by: Glauber Costa [EMAIL PROTECTED] Thanks, applied. Going forward, we're going to use the in-kernel approach for interrupt

[kvm-devel] [PATCH 2/3] SVM: align shadow CR4.MCE with host

2008-04-09 Thread Joerg Roedel
This patch aligns the host version of the CR4.MCE bit with the CR4 active in the guest. This is necessary to get MCE exceptions when the guest is running. Signed-off-by: Joerg Roedel [EMAIL PROTECTED] --- arch/x86/kvm/svm.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git

[kvm-devel] [PATCH 0/3] SVM: handle MCEs properly

2008-04-09 Thread Joerg Roedel
This patchset implements proper MCE handling for SVM in the KVM hypervisor. Currently KVM does not set CR4.MCE when it runs the guest. When a MCE condition occurs while the guest is running the exception gets lost. This may result in data corruption or other undefined behaviour. This patchset sets

[kvm-devel] [PATCH 1/3] SVM: indent svm_set_cr4 with tabs instead of spaces

2008-04-09 Thread Joerg Roedel
The smv_set_cr4 function is indented with spaces. This patch replaces them with tabs. Signed-off-by: Joerg Roedel [EMAIL PROTECTED] --- arch/x86/kvm/svm.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index

[kvm-devel] [PATCH 3/3] SVM: add intercept for machine check exception

2008-04-09 Thread Joerg Roedel
To properly forward a MCE occured while the guest is running to the host, we have to intercept this exception and call the host handler by hand. This is implemented by this patch. Signed-off-by: Joerg Roedel [EMAIL PROTECTED] --- arch/x86/kvm/svm.c | 17 -

Re: [kvm-devel] problems with Ubuntu server amd64 (kernel 2.6.24) and Windows 2003 32bit as guest

2008-04-09 Thread Davide D'Amico
Davide D'Amico wrote: Hi, I'm new in the world of virtualization. I have the following setup: An Ubuntu amd64 Server (DELL PE 2950 with Dual Quad Xen 2Ghz) with 24GB DDR2 Ram onboard and a Perc 6/i SAS controller. I have a Windows 2003 32 bit guest that hangs up (i.e. not responding

Re: [kvm-devel] [PATCH 0 of 9] mmu notifier #v12

2008-04-09 Thread Robin Holt
I applied this patch set with the xpmem version I am working up for submission and the basic level-1 and level-2 tests passed. The full mpi regression test still tends to hang, but that appears to be a common problem failure affecting either emm or mmu notifiers and therefore, I am certain is a

Re: [kvm-devel] problems with Ubuntu server amd64 (kernel 2.6.24) and Windows 2003 32bit as guest

2008-04-09 Thread Felix Leimbach
On 09.04.2008 Davide D'Amico wrote: I have a Windows 2003 32 bit guest that hangs up (i.e. not responding anymore) Hi Davide, I had very similar problems (details in [1]) which were solved by upgrading to host's kernel to 2.6.25. Since then all guests including the Win 2003 Servers are

[kvm-devel] [PATCH] SVM: do not intercept task switch with NPT

2008-04-09 Thread Joerg Roedel
When KVM uses NPT there is no reason to intercept task switches. This patch removes the intercept for it in that case. Signed-off-by: Joerg Roedel [EMAIL PROTECTED] --- arch/x86/kvm/svm.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/kvm/svm.c

Re: [kvm-devel] [patch 02/10] emm: notifier logic

2008-04-09 Thread Andrea Arcangeli
On Tue, Apr 08, 2008 at 01:23:33PM -0700, Christoph Lameter wrote: It may also be useful to allow invalidate_start() to fail in some contexts (try_to_unmap f.e., maybe if a certain flag is passed). This may allow the device to get out of tight situations (pending I/O f.e. or time out if

Re: [kvm-devel] problems with Ubuntu server amd64 (kernel 2.6.24) and Windows 2003 32bit as guest

2008-04-09 Thread Davide D'Amico
I had very similar problems (details in [1]) which were solved by upgrading to host's kernel to 2.6.25. Since then all guests including the Win 2003 Servers are rock-solid, even under heavy load. Really very thanks, I installed linux-2.6.25-rc8 and I tried to transfer a big file (120mbytes)

[kvm-devel] Boost your ego with this

2008-04-09 Thread Nyland
Never has it been easier to increase your size http://www.Diblastin.com/ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use

Re: [kvm-devel] [Qemu-devel] [PATCH 1/5] Use correct types toenable 2G support (v3)

2008-04-09 Thread Sebastian Herbszt
KVM supports more than 2GB of memory for x86_64 hosts. The following patch fixes a number of type related issues where int's were being used when they shouldn't have been. It also introduces CMOS support so the BIOS can build the appropriate e820 tables. Is this already supported in

[kvm-devel] (no subject)

2008-04-09 Thread 钟文辉
各位老总:您们好! 诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!   鼠不尽的幸福!鼠不尽的美满生活!愿:您们阖家欢乐!幸福安康! 我是(深圳市珊湖岛进出口有限公司)的负责人;可以提供:出口报关单,   核销单等等一系列手续;代理:出口报关,商检,境内外运输..等等;还可

[kvm-devel] QEMU/KVM: make sure all vcpus are paused before saving state

2008-04-09 Thread Marcelo Tosatti
Make sure that all threads are paused in userspace before saving machine state. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] --- kvm-userspace.io/qemu/qemu-kvm.c +++ kvm-userspace.io/qemu/qemu-kvm.c @@ -244,7 +244,7 @@ static int all_threads_paused(void) int i; for (i = 0; i

[kvm-devel] (no subject)

2008-04-09 Thread 钟文辉
各位老总:您们好! 诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!   鼠不尽的幸福!鼠不尽的美满生活!愿:您们阖家欢乐!幸福安康! 我是(深圳市珊湖岛进出口有限公司)的负责人;可以提供:出口报关单,   核销单等等一系列手续;代理:出口报关,商检,境内外运输..等等;还可

[kvm-devel] (no subject)

2008-04-09 Thread 钟文辉
各位老总:您们好! 诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!   鼠不尽的幸福!鼠不尽的美满生活!愿:您们阖家欢乐!幸福安康! 我是(深圳市珊湖岛进出口有限公司)的负责人;可以提供:出口报关单,   核销单等等一系列手续;代理:出口报关,商检,境内外运输..等等;还可

[kvm-devel] (no subject)

2008-04-09 Thread 钟文辉
各位老总:您们好! 诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!   鼠不尽的幸福!鼠不尽的美满生活!愿:您们阖家欢乐!幸福安康! 我是(深圳市珊湖岛进出口有限公司)的负责人;可以提供:出口报关单,   核销单等等一系列手续;代理:出口报关,商检,境内外运输..等等;还可

[kvm-devel] Строительная деятельность

2008-04-09 Thread Строительный комитет
На семинар приглашаются Руководители планово-экономических служб, специалисты по управлению финансами, инвесторы, главные бухгалтеров и бухгалтеры строительных организаций, руководители юридических служб, юрисконсульты. СТРОИТЕЛЬНАЯ ДЕЯТЕЛЬНОСТЬ: ПРАВОВОЕ РЕГУЛИРОВАНИЕ СТРОИТЕЛЬСТВА

[kvm-devel] (no subject)

2008-04-09 Thread 钟文辉
各位老总:您们好! 诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!   鼠不尽的幸福!鼠不尽的美满生活!愿:您们阖家欢乐!幸福安康! 我是(深圳市珊湖岛进出口有限公司)的负责人;可以提供:出口报关单,   核销单等等一系列手续;代理:出口报关,商检,境内外运输..等等;还可

Re: [kvm-devel] virtio with 2.6.25-rc8: problem with /dev/vda

2008-04-09 Thread Anthony Liguori
Jun Koi wrote: On 4/9/08, Felix Leimbach [EMAIL PROTECTED] wrote: However, I got booting error like /dev/vda1 doest exist..., so boot failure. How can I fix this? make sure that your command line on the host looks like that: kvm -drive file=your-image,if=virtio,boot=on other stuff

Re: [kvm-devel] virtio with 2.6.25-rc8: problem with /dev/vda

2008-04-09 Thread Jun Koi
On 4/10/08, Anthony Liguori [EMAIL PROTECTED] wrote: Jun Koi wrote: On 4/9/08, Felix Leimbach [EMAIL PROTECTED] wrote: However, I got booting error like /dev/vda1 doest exist..., so boot failure. How can I fix this? make sure that your command line on the host looks like

Re: [kvm-devel] virtio with 2.6.25-rc8: problem with /dev/vda

2008-04-09 Thread Jorge Lucángeli Obes
On Thu, Apr 10, 2008 at 12:59 AM, Jun Koi [EMAIL PROTECTED] wrote: Now I succesfully installed 2.6.25-rc8, and virtio block device works well. But from inside my VM, how can I say it is using virtio for block? And is there any number about the performance gain using virtio block?

Re: [kvm-devel] virtio with 2.6.25-rc8: problem with /dev/vda

2008-04-09 Thread Jun Koi
On 4/10/08, Jorge Lucángeli Obes [EMAIL PROTECTED] wrote: On Thu, Apr 10, 2008 at 12:59 AM, Jun Koi [EMAIL PROTECTED] wrote: Now I succesfully installed 2.6.25-rc8, and virtio block device works well. But from inside my VM, how can I say it is using virtio for block? And is