RE: Test with VT-d patches

2008-09-02 Thread Han, Weidong
After I destroyed the guest by clicking qume "x" button, and assigned the same assigned device to guest, I met this same issue. The reason is the assigned device doesn't exit normally, then its status is incorrect. Doing FLR should solve the issue. We will add FLR mechanism for it later. For Grego

Re: Test with VT-d patches

2008-09-02 Thread Yang, Sheng
On Wednesday 03 September 2008 02:40:06 [EMAIL PROTECTED] wrote: > Hi, > > >On Tue, Sep 2, 2008 at 4:17 PM, <[EMAIL PROTECTED]> wrote: > >> Hi, > >> > >> here comes a small part of the dmesg output. Qemu/KVM produces now a CPU > > > >usage > > > >> of about 90%. > >> > >> > >> Sep 2 11:27:35 ubun

[Fwd: Re: serial problems cont..]

2008-09-02 Thread Michael Malone
Avi Kivity wrote: Michael Malone wrote: What version of kvm are you testing? There were some changes to the serial emulation recently. See for example 02f0b4c0cc26f3a2578d515d96781f5a625d in kvm-73. I have tried with kvm 62, 69, 72 and 74. All of them gave the same result. What do

[PLEASE IGNORE] Re: etherboot unusably slow w/ kvm-74, current head

2008-09-02 Thread Charles Duffy
Sorry -- tftp configuration error on my end; hit "send" before finishing environment valiadation; my apologies. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

etherboot unusably slow w/ kvm-74, current head

2008-09-02 Thread Charles Duffy
Per subject; etherboot is requiring tens of minutes just to partially download pxelinux.0: Probing pci nic... [e1000-82540em]Ethernet addr: 00:16:3E:ED:DA:6A Searching for server (DHCP).. Me: 169.254.1.254, DHCP: 192.168.66.1, TFTP: 169.254.0.1, Gateway 169.254.0.1 Loading 169.254.0.1:/pxe

RE: [PATCH 2/2] Allow the SVM CPUID bit in a VM

2008-09-02 Thread Itamar Heim
Userspace may know better, for example when you want to allow live migration between multiple hosts and want to calculate lowest common denominator between them. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Graf Sent: Tuesday, September 02, 20

Re: Test with VT-d patches

2008-09-02 Thread gg
Hi, >On Tue, Sep 2, 2008 at 4:17 PM, <[EMAIL PROTECTED]> wrote: >> Hi, >> >> here comes a small part of the dmesg output. Qemu/KVM produces now a CPU >usage >> of about 90%. >> >> >> Sep 2 11:27:35 ubuntu klogd: [ 335.057707] [ cut here >] >> Sep 2 11:27:35 ubuntu k

Re: [PATCH 2/2] Allow the SVM CPUID bit in a VM

2008-09-02 Thread Alexander Graf
On Sep 2, 2008, at 7:42 PM, Alexander Graf wrote: On Sep 1, 2008, at 4:00 PM, Avi Kivity wrote: Alexander Graf wrote: Usually the qemu-kvm-bridge removes the SVM capability flag. Since KVM now supports nested SVM, this is no longer necessary. Signed-off-by: Alexander Graf <[EMAIL PROTECT

Re: [PATCH 2/2] Allow the SVM CPUID bit in a VM

2008-09-02 Thread Alexander Graf
On Sep 1, 2008, at 4:00 PM, Avi Kivity wrote: Alexander Graf wrote: Usually the qemu-kvm-bridge removes the SVM capability flag. Since KVM now supports nested SVM, this is no longer necessary. Signed-off-by: Alexander Graf <[EMAIL PROTECTED]> --- qemu/qemu-kvm-x86.c |3 --- 1 files chang

Re: time command in vm

2008-09-02 Thread David S. Ahern
Terry wrote: > Hi All, > > When we use time command in vm, we can get 'elapsed time', 'user time' > and 'system time'. How to explain these three times in detail? For > example, when we have a shadow page fault, we exit from guest to host > for handling the fault. So, this handling time shoul

[PATCH] KVM: SVM: fix guest global tlb flushes with NPT

2008-09-02 Thread Joerg Rodel
From: Joerg Roedel <[EMAIL PROTECTED]> Accesses to CR4 are intercepted even with Nested Paging enabled. But the code does not check if the guest wants to do a global TLB flush. So this flush gets lost. This patch adds the check and the flush to svm_set_cr4. Signed-off-by: Joerg Roedel <[EMAIL PRO

[ kvm-Bugs-2019053 ] tbench fails on guest when AMD NPT enabled

2008-09-02 Thread SourceForge.net
Bugs item #2019053, was opened at 2008-07-15 18:10 Message generated for change (Comment added) made by alex_williamson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2019053&group_id=180599 Please note that this message will contain a full copy of the c

Re: [PATCH 9/9] Add VMEXIT handler and intercepts

2008-09-02 Thread Alexander Graf
On Sep 1, 2008, at 3:58 PM, Avi Kivity wrote: Alexander Graf wrote: This adds the #VMEXIT intercept, so we return to the level 1 guest when something happens in the level 2 guest that should return to the level 1 guest. @@ -223,6 +228,21 @@ static void svm_queue_exception(struct kvm_vcpu *v

Re: [PATCH 8/9] Add VMRUN handler

2008-09-02 Thread Alexander Graf
On Sep 1, 2008, at 3:41 PM, Avi Kivity wrote: Alexander Graf wrote: This patch implements VMRUN. VMRUN enters a virtual CPU and runs that in the same context as the normal guest CPU would run. So basically it is implemented the same way, a normal CPU would do it. We also prepare all interc

Re: [PATCH] Fix up pxe boot

2008-09-02 Thread Glauber Costa
On Tue, Sep 2, 2008 at 12:20 PM, Avi Kivity <[EMAIL PROTECTED]> wrote: > Glauber Costa wrote: >> >> On Tue, Sep 2, 2008 at 5:39 AM, Avi Kivity <[EMAIL PROTECTED]> wrote: >> >>> >>> Glauber Costa wrote: >>> diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c index 0b5fdc0..

Re: [PATCH] Fix up pxe boot

2008-09-02 Thread Avi Kivity
Glauber Costa wrote: On Tue, Sep 2, 2008 at 5:39 AM, Avi Kivity <[EMAIL PROTECTED]> wrote: Glauber Costa wrote: diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c index 0b5fdc0..433aa3f 100644 --- a/target-i386/op_helper.c +++ b/target-i386/op_helper.c @@ -600,7 +600,7 @@ do

Re: Test with VT-d patches

2008-09-02 Thread Luca Tettamanti
On Tue, Sep 2, 2008 at 4:17 PM, <[EMAIL PROTECTED]> wrote: > Hi, > > here comes a small part of the dmesg output. Qemu/KVM produces now a CPU usage > of about 90%. > > > Sep 2 11:27:35 ubuntu klogd: [ 335.057707] [ cut here > ] > Sep 2 11:27:35 ubuntu klogd: [ 335.0577

RE: Test with VT-d patches

2008-09-02 Thread gg
Hi, here comes a small part of the dmesg output. Qemu/KVM produces now a CPU usage of about 90%. Sep 2 11:27:35 ubuntu klogd: [ 335.057707] [ cut here ] Sep 2 11:27:35 ubuntu klogd: [ 335.057711] WARNING: at kernel/irq/manage.c:180 __enable_irq+0x34/0x80() Sep 2 11

Re: Virtio_pci in kernel ignore endian of PCI I/O space?

2008-09-02 Thread Hollis Blanchard
On Tue, 2008-09-02 at 15:29 +0800, Liu Yu-B13201 wrote: > Hollis, > > I noticed fuction virtio_blk_update_config() (qemu/hw/virtio-blk.c) in > qemu > updated the virtio disk's capacity in little endian. > But virtblk_probe() (drivers/block/virtio_blk.c) in kernel read the > capacity from I/O space

[ kvm-Bugs-2025534 ] gettimeofday goes backward

2008-09-02 Thread SourceForge.net
Bugs item #2025534, was opened at 2008-07-23 10:45 Message generated for change (Comment added) made by ravpl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2025534&group_id=180599 Please note that this message will contain a full copy of the comment thr

RE: Test with VT-d patches

2008-09-02 Thread Han, Weidong
Hi Gregor, You'd better set the loglevel=8 to print debug information. Can you also try linux guest? Randy (Weidong) Yang, Sheng wrote: > On Tuesday 02 September 2008 16:44:18 [EMAIL PROTECTED] wrote: >> Hi, >> >> i am interested in the use of the new VT-d hardware feature. >> My Dell-PC "OPTIP

[ kvm-Bugs-2025534 ] gettimeofday goes backward

2008-09-02 Thread SourceForge.net
Bugs item #2025534, was opened at 2008-07-23 10:45 Message generated for change (Comment added) made by jroedel You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2025534&group_id=180599 Please note that this message will contain a full copy of the comment t

[ kvm-Bugs-2019053 ] tbench fails on guest when AMD NPT enabled

2008-09-02 Thread SourceForge.net
Bugs item #2019053, was opened at 2008-07-16 02:10 Message generated for change (Comment added) made by jroedel You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2019053&group_id=180599 Please note that this message will contain a full copy of the comment t

Re: Test with VT-d patches

2008-09-02 Thread Yang, Sheng
On Tuesday 02 September 2008 16:44:18 [EMAIL PROTECTED] wrote: > Hi, > > i am interested in the use of the new VT-d hardware feature. > My Dell-PC "OPTIPLEX" is capable for this. > The Linux-System was an Ubuntu-8.10 (AMD64) with the current > Linux-Kernel from the KVM-Kernel GIT repository. (2.6.2

Problems with kvm-73 on PAE host

2008-09-02 Thread Bernhard Kohl
Hi, I'm trying to run kvm-73 on a Linux PAE host. I'm using Fedora 8 on the host, installed kernel-PAE and kernel-PAE-devel (2.6.25.14-69.fc8.i686), built and installed KVM: make distclean ./configure make make install Immediately after starting any VM the following error occurs. Did I miss a

Re: [PATCH] Fix up pxe boot

2008-09-02 Thread Glauber Costa
On Tue, Sep 2, 2008 at 5:39 AM, Avi Kivity <[EMAIL PROTECTED]> wrote: > Glauber Costa wrote: >> >> diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c >> index 0b5fdc0..433aa3f 100644 >> --- a/target-i386/op_helper.c >> +++ b/target-i386/op_helper.c >> @@ -600,7 +600,7 @@ do {\ >> #defi

Re: [ANNOUNCE] kvm-74 release

2008-09-02 Thread Henrik Holst
mån 2008-09-01 klockan 13:36 +0300 skrev Avi Kivity: > Charles Duffy wrote: > > A few quick notes: > > > > - The extboot.bin regression from kvm-71 (SCSI drives being > > unavailable after reboot) is still outstanding. > > > > Now fixed. > For what it is worth, I can now confirm the fix. You ha

Re: Better keymap support

2008-09-02 Thread Henrik Holst
fre 2008-08-29 klockan 09:39 +0200 skrev Dietmar Maurer: > Hi all, > > This patch add better vnc keymap support, i.e. you can now type a '|' > and '@' on german keybords. > > It is based on a patch from ricardo ribalda I found on the qemu list > some months ago. > > - Dietmar > Is it really ne

Re: [PATCH 3/9] Implement GIF, clgi and stgi

2008-09-02 Thread Avi Kivity
Alexander Graf wrote: Ah, so we don't sync hflags with the userspace on every transition but only request it on save/restore? Yes. That's how all of the other state is synced. Do we really want to support storing the state when within the Level2 VM? Can't we just #VMEXIT as soon as we s

Re: [PATCH] KVM: remove unnecessary remote tlb flush

2008-09-02 Thread Avi Kivity
Joerg Roedel wrote: The remote tlb flush in kvm_mmu_page_unlink_children() is not necessary because this function is only called in kvm_mmu_zap_page() which does the flush itself afterwards. Applied, thanks. -- error compiling committee.c: too many arguments to function -- To unsubscribe f

[PATCH] Fix external module build for 2.6.22

2008-09-02 Thread Jan Kiszka
Signed-off-by: Jan Kiszka <[EMAIL PROTECTED]> diff --git a/kernel/external-module-compat-comm.h b/kernel/external-module-compat-comm.h index 2e87c57..6072fde 100644 --- a/kernel/external-module-compat-comm.h +++ b/kernel/external-module-compat-comm.h @@ -517,6 +517,11 @@ static inline int cancel_

Test with VT-d patches

2008-09-02 Thread gg
Hi, i am interested in the use of the new VT-d hardware feature. My Dell-PC "OPTIPLEX" is capable for this. The Linux-System was an Ubuntu-8.10 (AMD64) with the current Linux-Kernel from the KVM-Kernel GIT repository. (2.6.27-rc4) To use VT-d i download kvm-74 and take the patches from "Amit Shah"

Re: [PATCH] Fix up pxe boot

2008-09-02 Thread Avi Kivity
Glauber Costa wrote: diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c index 0b5fdc0..433aa3f 100644 --- a/target-i386/op_helper.c +++ b/target-i386/op_helper.c @@ -600,7 +600,7 @@ do {\ #define PUSHL(ssp, sp, sp_mask, val)\ {\ sp -= 4;\ -stl_kernel((ssp) + (sp & (sp_mask)

[ kvm-Bugs-2088475 ] OpenSuse10.2 can not be installed

2008-09-02 Thread SourceForge.net
Bugs item #2088475, was opened at 2008-09-02 01:37 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=2088475&group_id=180599 Please note that this message will contain a full copy

Re: serial problems cont..

2008-09-02 Thread Avi Kivity
Michael Malone wrote: What version of kvm are you testing? There were some changes to the serial emulation recently. See for example 02f0b4c0cc26f3a2578d515d96781f5a625d in kvm-73. I have tried with kvm 62, 69, 72 and 74. All of them gave the same result. What do you mean by "See fo