Re: [PATCH] do not keep interrupt window closed by sti in real mode

2009-04-08 Thread H. Peter Anvin
Avi Kivity wrote: I'm guessing the problem is due to the second instruction. We don't clear the 'blocked by interrupt shadow' flag when we emulate, which extends interrupt shadow by one more instruction. If the instruction sequence is 'sti hlt' we end in an inconsistent state. Ah, and

Re: [libvirt] Re: [Qemu-devel] Changing the QEMU svn VERSION string

2009-04-08 Thread Gerd Hoffmann
On 04/07/09 19:13, Jamie Lokier wrote: Anthony Liguori wrote: I still think libvirt should work with versions of QEMU/KVM built from svn/git though. I think the only way to do that is for libvirt to relax their version checks to accommodate suffixes in the form major.minor.stable-foo. Ok,

Re: [PATCH] do not keep interrupt window closed by sti in real mode

2009-04-08 Thread Avi Kivity
H. Peter Anvin wrote: Avi Kivity wrote: I'm guessing the problem is due to the second instruction. We don't clear the 'blocked by interrupt shadow' flag when we emulate, which extends interrupt shadow by one more instruction. If the instruction sequence is 'sti hlt' we end in an

[ kvm-Bugs-2741742 ] debian-20090117-kfreebsd-i386 installation fails on kvm 80

2009-04-08 Thread SourceForge.net
Bugs item #2741742, was opened at 2009-04-07 22:37 Message generated for change (Comment added) made by scoof You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2741742group_id=180599 Please note that this message will contain a full copy of the comment

[ kvm-Bugs-2741742 ] debian-20090117-kfreebsd-i386 installation fails on kvm 80

2009-04-08 Thread SourceForge.net
Bugs item #2741742, was opened at 2009-04-07 22:37 Message generated for change (Comment added) made by scoof You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2741742group_id=180599 Please note that this message will contain a full copy of the comment

[ kvm-Bugs-2741742 ] debian-20090117-kfreebsd-i386 installation fails on kvm 80

2009-04-08 Thread SourceForge.net
Bugs item #2741742, was opened at 2009-04-07 22:37 Message generated for change (Comment added) made by aurel32 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2741742group_id=180599 Please note that this message will contain a full copy of the comment

AW: AW: AW: KVM performance

2009-04-08 Thread BRAUN, Stefanie
BRAUN, Stefanie wrote: 1. Subtest: VLC reads video from local disk and streams it via udp to another pc Host performance: 11% 11% kvm process in host (top):22% 22% vlc process in vmu (top): 15%

[ kvm-Bugs-2741742 ] debian-20090117-kfreebsd-i386 installation fails on kvm 80

2009-04-08 Thread SourceForge.net
Bugs item #2741742, was opened at 2009-04-07 22:37 Message generated for change (Comment added) made by scoof You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=893831aid=2741742group_id=180599 Please note that this message will contain a full copy of the comment

Re: [libvirt] Re: [Qemu-devel] Changing the QEMU svn VERSION string

2009-04-08 Thread Anthony Liguori
Paul Brook wrote: On Tuesday 07 April 2009, Daniel Jacobowitz wrote: On Tue, Apr 07, 2009 at 08:52:46AM -0500, Anthony Liguori wrote: I think that's going to lead to even more confusion. While I'm inclined to not greatly mind 0.10.99 for the development tree, when we do release

Re: [libvirt] Re: [Qemu-devel] Changing the QEMU svn VERSION string

2009-04-08 Thread Jamie Lokier
Paul Brook wrote: I'm extremely sceptical of anything that claims to need a fine grained version number. In practice version numbers for open source projects are fairly arbitrary and meaningless because almost everyone has their own set of patches and backported fixes anyway. I find it's

Re: [PATCH] do not keep interrupt window closed by sti in real mode

2009-04-08 Thread Glauber Costa
On Tue, Apr 07, 2009 at 09:14:58PM -0700, H. Peter Anvin wrote: Glauber Costa wrote: While in real mode, sti does not block interrupts from the subsequent instruction. This is stated at Intel SDM Volume 2b, page 4-432 I don't see how you're getting that idea from the STI documentation --

Re: [kvm] [PATCH 13/16] kvm: enable MSI-X capabilty for assigned device

2009-04-08 Thread Alex Williamson
Hi Sheng, On Wed, 2009-04-08 at 10:26 +0800, Sheng Yang wrote: On Wednesday 08 April 2009 00:38:10 Alex Williamson wrote: On Tue, 2009-04-07 at 14:09 +0800, Sheng Yang wrote: Could you enable DEVICE_ASSSIGNMENT_DEBUG=1 in qemu/hw/device-assignment.c and post the output? Yup, see

Re: User Question

2009-04-08 Thread Cam Macdonell
Randy Broman wrote: I'm running Kubuntu Jaunty 9.04 on an AMD Phenom II 910, with a custom 2.6.28 kernel. I want to install KVM with a Windows XP guest. Apologies I'm confused as to exactly what to install -I can (should?) apt-get install KVM and/or QEMU from the Jaunty archives. -I can

Re: [PATCH] disable interrupt shadow state for emulated instruction

2009-04-08 Thread H. Peter Anvin
Glauber Costa wrote: we currently unblock shadow interrupt state when we skip an instruction, but failing to do so when we actually emulate one. This blocks interrupts in key instruction blocks, in particular sti; hlt; sequences Without this patch, I cannot boot gpxe option roms at vmx

Re: [PATCH] disable interrupt shadow state for emulated instruction

2009-04-08 Thread Glauber Costa
On Wed, Apr 08, 2009 at 11:16:05AM -0700, H. Peter Anvin wrote: Glauber Costa wrote: we currently unblock shadow interrupt state when we skip an instruction, but failing to do so when we actually emulate one. This blocks interrupts in key instruction blocks, in particular sti; hlt; sequences

Re: [PATCH] disable interrupt shadow state for emulated instruction

2009-04-08 Thread H. Peter Anvin
Glauber Costa wrote: mov ss is a non-issue, since it is executed natively. In real mode? -hpa -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] disable interrupt shadow state for emulated instruction

2009-04-08 Thread Glauber Costa
On Wed, Apr 08, 2009 at 11:31:54AM -0700, H. Peter Anvin wrote: Glauber Costa wrote: mov ss is a non-issue, since it is executed natively. In real mode? it seems so, to me. But I can be wrong. If I am, then I'd propose the same path I proposed for sti for this. -- To unsubscribe from this

Re: [PATCH] disable interrupt shadow state for emulated instruction

2009-04-08 Thread Gleb Natapov
On Wed, Apr 08, 2009 at 01:57:32PM -0400, Glauber Costa wrote: we currently unblock shadow interrupt state when we skip an instruction, but failing to do so when we actually emulate one. This blocks interrupts in key instruction blocks, in particular sti; hlt; sequences Without this patch, I

Re: [PATCH] disable interrupt shadow state for emulated instruction

2009-04-08 Thread Gleb Natapov
On Wed, Apr 08, 2009 at 03:43:06PM -0300, Glauber Costa wrote: On Wed, Apr 08, 2009 at 11:31:54AM -0700, H. Peter Anvin wrote: Glauber Costa wrote: mov ss is a non-issue, since it is executed natively. In real mode? it seems so, to me. But I can be wrong. If I am, then I'd propose the

[PATCH v2 1/3] qemu: Add prototype and make qemu_uuid_parse() non-static

2009-04-08 Thread Alex Williamson
SMBIOS parameters can also provide a UUID outside of vl.c. Signed-off-by: Alex Williamson alex.william...@hp.com --- sysemu.h |1 + vl.c |2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/sysemu.h b/sysemu.h index 3eab34b..e94d5c3 100644 --- a/sysemu.h +++

Re: User Question

2009-04-08 Thread Randy Broman
Thanks Cam for the information, I've compiled and installed the kvm-84 tarball, I'm running modules KVM and KVM_AMD, and I can start my WinXP guest successfully with qemu-system-x86_64. I've compiled and installed vde, but I can't get vde networking working in the guest. My Kubuntu host is on

Re: [kvm] [PATCH 13/16] kvm: enable MSI-X capabilty for assigned device

2009-04-08 Thread Sheng Yang
On Thursday 09 April 2009 00:13:56 Alex Williamson wrote: Hi Sheng, On Wed, 2009-04-08 at 10:26 +0800, Sheng Yang wrote: On Wednesday 08 April 2009 00:38:10 Alex Williamson wrote: On Tue, 2009-04-07 at 14:09 +0800, Sheng Yang wrote: Could you enable DEVICE_ASSSIGNMENT_DEBUG=1 in

[PATCH 1/1] kvm: don't check per-vector mask bit before enable MSI-X

2009-04-08 Thread Sheng Yang
Some driver(e.g. bnx2) do the following to enable MSI-X: 1. Mask all vectors. 2. Write the msg data and address. 3. Enable MSI-X 4. Unmask all the vectors. For this, check per-vector mask bit before enable MSI-X would cause device fail to enable MSI-X. So now we only determine the availability of

[PATCH 3/4] add replace_page(): change the page pte is pointing to.

2009-04-08 Thread Izik Eidus
replace_page() allow changing the mapping of pte from one physical page into diffrent physical page. this function is working by removing oldpage from the rmap and calling put_page on it, and by setting the pte to point into newpage and by inserting it to the rmap using page_add_file_rmap().

[PATCH 1/4] MMU_NOTIFIERS: add set_pte_at_notify()

2009-04-08 Thread Izik Eidus
this macro allow setting the pte in the shadow page tables directly instead of flushing the shadow page table entry and then get vmexit in order to set it. This function is optimzation for kvm/users of mmu_notifiers for COW pages, it is useful for kvm when ksm is used beacuse it allow kvm not to

[PATCH 0/4] ksm - dynamic page sharing driver for linux v3

2009-04-08 Thread Izik Eidus
From v2 to v3: 1)Remove unnessery check of is_dirty_pte() inside PageKsm() We have added the is_dirty_pte() chceck to protect against the reuse: case inside do_wp_page(). Andrea pointed to me that such condtion couldnt ever happen, du to the fact that if VM_SHARED is set no Anonymous

[PATCH 2/4] add page_wrprotect(): write protecting page.

2009-04-08 Thread Izik Eidus
this patch add new function called page_wrprotect(), page_wrprotect() is used to take a page and mark all the pte that point into it as readonly. The function is working by walking the rmap of the page, and setting each pte realted to the page as readonly. The odirect_sync parameter is used to

[PATCH 4/4] add ksm kernel shared memory driver.

2009-04-08 Thread Izik Eidus
Ksm is driver that allow merging identical pages between one or more applications in way unvisible to the application that use it. Pages that are merged are marked as readonly and are COWed when any application try to change them. Ksm is used for cases where using fork() is not suitable, one of

Re: one question about virualization and kvm

2009-04-08 Thread Vasiliy Tolstov
В Срд, 01/04/2009 в 09:01 -0500, Javier Guerra пишет: On Wed, Apr 1, 2009 at 7:27 AM, Vasiliy Tolstov v.tols...@selfip.ru wrote: Hello! I have two containers with os linux. All files in /usr and /bin are identical. Is that possible to mount/bind /usr and /bin to containers? (not copy

RE: [PATCH] Map guest (ts,tid) to individual shadow tid

2009-04-08 Thread Liu Yu-B13201
-Original Message- From: kvm-ppc-ow...@vger.kernel.org [mailto:kvm-ppc-ow...@vger.kernel.org] On Behalf Of Liu Yu-B13201 Sent: Thursday, April 09, 2009 11:45 AM To: Hollis Blanchard Cc: kvm-ppc@vger.kernel.org Subject: RE: [PATCH] Map guest (ts,tid) to individual shadow tid