Re: [Qemu-devel] Poor disk I/O performance

2015-07-20 Thread Gleb Stepanov
Also, i want to say that qcow2 that was mounted on nb0 is placed on /dev/sda. Kind regards, Gleb Stepanov.

[Qemu-devel] write operations during read

2015-07-15 Thread Gleb Stepanov
operates , because if i've writtien 55 mb with 1 mb blocks i should get 55 operations instead of 432. Kind regards, Gleb Stepanov.

[Qemu-devel] Write requests, during read operations

2015-07-14 Thread Gleb Stepanov
operates , because if i've writtien 55 mb with 1 mb blocks i should get 55 operations instead of 432. Kind regards, Gleb Stepanov.

Re: [Qemu-devel] [RFC 0/2] GET_EMULATED_CPUID support with allow-emulation option

2014-06-06 Thread gleb
...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Gleb.

Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table

2013-11-28 Thread Gleb Natapov
that Gleb pointed out temporarily) instead of synchronize_rcu(), should we still ensure this? The problem is that we should ensure this, so using call_rcu is not possible (even not considering the memory allocation problem). Not changing current behaviour is certainly safer, but I am

Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table

2013-11-28 Thread Gleb Natapov
many interrupts, then OS perform zeroing this CPU's IDT before receiving interrupts, will the same problem happen? This is just an example. OS can ensure that there is no other pending interrupt by some other means. -- Gleb.

Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table

2013-11-28 Thread Gleb Natapov
On Thu, Nov 28, 2013 at 10:29:36AM +0100, Paolo Bonzini wrote: Il 28/11/2013 10:19, Gleb Natapov ha scritto: Not changing current behaviour is certainly safer, but I am still not 100% convinced we have to ensure this. Suppose guest does: 1: change msi interrupt by writing to pci

Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table

2013-11-28 Thread Gleb Natapov
On Thu, Nov 28, 2013 at 11:49:00AM +0200, Avi Kivity wrote: On 11/28/2013 11:19 AM, Gleb Natapov wrote: On Thu, Nov 28, 2013 at 09:55:42AM +0100, Paolo Bonzini wrote: Il 28/11/2013 07:27, Zhanghaoyu (A) ha scritto: Without synchronize_rcu you could have VCPU writes to routing table

Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table

2013-11-28 Thread Gleb Natapov
On Thu, Nov 28, 2013 at 12:12:55PM +0200, Avi Kivity wrote: On 11/28/2013 12:11 PM, Gleb Natapov wrote: On Thu, Nov 28, 2013 at 11:49:00AM +0200, Avi Kivity wrote: On 11/28/2013 11:19 AM, Gleb Natapov wrote: On Thu, Nov 28, 2013 at 09:55:42AM +0100, Paolo Bonzini wrote: Il 28/11/2013 07:27

Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table

2013-11-28 Thread Gleb Natapov
, and in very rare cases higher. Paolo -- Gleb.

Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table

2013-11-28 Thread Gleb Natapov
On Thu, Nov 28, 2013 at 01:18:54PM +0200, Avi Kivity wrote: On 11/28/2013 01:02 PM, Gleb Natapov wrote: On Thu, Nov 28, 2013 at 12:12:55PM +0200, Avi Kivity wrote: On 11/28/2013 12:11 PM, Gleb Natapov wrote: On Thu, Nov 28, 2013 at 11:49:00AM +0200, Avi Kivity wrote: On 11/28/2013 11:19 AM

Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table

2013-11-28 Thread Gleb Natapov
On Thu, Nov 28, 2013 at 12:10:40PM +0100, Paolo Bonzini wrote: Il 28/11/2013 12:09, Gleb Natapov ha scritto: - if there are no callbacks, but there are readers, synchronize_srcu busy-loops for some time checking if the readers complete. After a while (20 us for synchronize_srcu, 120 us

Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table

2013-11-28 Thread Gleb Natapov
On Thu, Nov 28, 2013 at 01:33:48PM +0200, Michael S. Tsirkin wrote: On Thu, Nov 28, 2013 at 01:22:45PM +0200, Gleb Natapov wrote: On Thu, Nov 28, 2013 at 01:18:54PM +0200, Avi Kivity wrote: On 11/28/2013 01:02 PM, Gleb Natapov wrote: On Thu, Nov 28, 2013 at 12:12:55PM +0200, Avi Kivity

Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table

2013-11-26 Thread Gleb Natapov
return and VMENTRY to service VM immediately, no more need to blocked to wait RCU grace period. And, I have implemented a raw patch, took a test in our telecom environment, above problem disappeared. Any better ideas? Thanks, Zhang Haoyu -- Gleb.

Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table

2013-11-26 Thread Gleb Natapov
On Tue, Nov 26, 2013 at 02:48:10PM +0200, Gleb Natapov wrote: On Tue, Nov 26, 2013 at 12:40:36PM +, Zhanghaoyu (A) wrote: Hi all, When guest set irq smp_affinity, VMEXIT occurs, then the vcpu thread will IOCTL return to QEMU from hypervisor, then vcpu thread ask the hypervisor

Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table

2013-11-26 Thread Gleb Natapov
changing userspace to use KVM_SIGNAL_MSI for MSI injection? -- Gleb.

Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table

2013-11-26 Thread Gleb Natapov
On Tue, Nov 26, 2013 at 04:20:27PM +0100, Paolo Bonzini wrote: Il 26/11/2013 16:03, Gleb Natapov ha scritto: I understood the proposal was also to eliminate the synchronize_rcu(), so while new interrupts would see the new routing table, interrupts already in flight could pick up

Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table

2013-11-26 Thread Gleb Natapov
On Tue, Nov 26, 2013 at 05:28:23PM +0100, Paolo Bonzini wrote: Il 26/11/2013 17:24, Gleb Natapov ha scritto: VCPU writes to routing table e = entry from IRQ routing table kvm_irq_routing_update(kvm, new); VCPU resumes execution

Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table

2013-11-26 Thread Gleb Natapov
On Tue, Nov 26, 2013 at 06:27:47PM +0200, Avi Kivity wrote: On 11/26/2013 06:24 PM, Gleb Natapov wrote: On Tue, Nov 26, 2013 at 04:20:27PM +0100, Paolo Bonzini wrote: Il 26/11/2013 16:03, Gleb Natapov ha scritto: I understood the proposal was also to eliminate the synchronize_rcu(), so

Re: [Qemu-devel] [RFC] create a single workqueue for each vm to update vm irq routing table

2013-11-26 Thread Gleb Natapov
On Tue, Nov 26, 2013 at 06:05:37PM +0200, Michael S. Tsirkin wrote: On Tue, Nov 26, 2013 at 02:56:10PM +0200, Gleb Natapov wrote: On Tue, Nov 26, 2013 at 01:47:03PM +0100, Paolo Bonzini wrote: Il 26/11/2013 13:40, Zhanghaoyu (A) ha scritto: When guest set irq smp_affinity, VMEXIT occurs

[Qemu-devel] [PATCH 1/3] KVM: x86: fix typo in KVM_GET_XCRS

2013-11-21 Thread Gleb Natapov
From: Paolo Bonzini pbonz...@redhat.com Only the first item of the array was ever looked at. No practical effect, but still worth fixing. Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Gleb Natapov g...@redhat.com --- target-i386/kvm.c | 4 ++-- 1 file changed, 2 insertions

[Qemu-devel] [PATCH 2/3] pci-assign: Remove dead code for direct I/O region access from userspace

2013-11-21 Thread Gleb Natapov
...@redhat.com Signed-off-by: Gleb Natapov g...@redhat.com --- hw/i386/kvm/pci-assign.c | 56 +--- 1 file changed, 10 insertions(+), 46 deletions(-) diff --git a/hw/i386/kvm/pci-assign.c b/hw/i386/kvm/pci-assign.c index 011764f..4e65110 100644 --- a/hw/i386/kvm

[Qemu-devel] [PATCH 0/3] [PULL] qemu-kvm.git uq/master queue

2013-11-21 Thread Gleb Natapov
The following changes since commit fc8ead74674b7129e8f31c2595c76658e5622197: Merge remote-tracking branch 'qemu-kvm/uq/master' into staging (2013-10-18 10:03:24 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master for you to fetch

Re: [Qemu-devel] [PATCH 0/3] [PULL for 1.7?] qemu-kvm.git uq/master queue

2013-11-21 Thread Gleb Natapov
, too. Yes. Yeah, forget to add 1.7 to the subject. -- Gleb.

[Qemu-devel] [PATCH 3/3] kvm: Fix uninitialized cpuid_data

2013-11-21 Thread Gleb Natapov
: kvm_arch_init_vcpu (kvm.c:446) Instead of adding more memset calls for parts of cpuid_data, the existing calls were removed and cpuid_data is now initialized completely in one call. Signed-off-by: Stefan Weil s...@weilnetz.de Signed-off-by: Gleb Natapov g...@redhat.com --- target-i386/kvm.c | 9

Re: [Qemu-devel] question about VM kernel parameter idle=poll/mwait/halt/nomwait

2013-11-20 Thread Gleb Natapov
. With idle=mwait is will likely fall back to halt silently. -- Gleb.

Re: [Qemu-devel] [PATCH for-1.7] target-i386: Fix build by providing stub kvm_arch_get_supported_cpuid()

2013-11-12 Thread Gleb Natapov
of dead code elimination *should* be expected because most people are now preferring if to #ifdef for compiling out code. If -O0 does not do that, let's move debug builds to -O1. Why not enable dce with -fdce? -- Gleb.

Re: [Qemu-devel] [PATCH for-1.7] target-i386: Fix build by providing stub kvm_arch_get_supported_cpuid()

2013-11-12 Thread Gleb Natapov
of #if 0. You do not need to enable insane amount of options to check that your change does not break complication for any of them. -- Gleb.

Re: [Qemu-devel] [PATCH for-1.7] target-i386: Fix build by providing stub kvm_arch_get_supported_cpuid()

2013-11-12 Thread Gleb Natapov
On Tue, Nov 12, 2013 at 02:57:49PM +0100, Paolo Bonzini wrote: Il 12/11/2013 14:23, Gleb Natapov ha scritto: If -O0 does not do that, let's move debug builds to -O1. Why not enable dce with -fdce? First, because clang doesn't have fine-tuned optimization options (at least I couldn't

Re: [Qemu-devel] [PATCH for-1.7] target-i386: Fix build by providing stub kvm_arch_get_supported_cpuid()

2013-11-12 Thread Gleb Natapov
or not. If you really want compile-time feedback on those that ought to have been removed by optimization, you could elide them from the stub file depending on ifndef __OPTIMIZE__. Sounds like a nice compromise. -- Gleb.

Re: [Qemu-devel] [PATCH uq/master] pci-assign: Remove dead code for direct I/O region access from userspace

2013-11-07 Thread Gleb Natapov
; } +DEBUG(pread val=% PRIx64 , size=%d, e_phys= TARGET_FMT_plx + , addr= TARGET_FMT_plx \n, val, size, addr, addr); } return val; } -- 1.8.1.1.298.ge7eed54 -- Gleb.

Re: [Qemu-devel] [PATCH for 1.7] kvm: Fix uninitialized cpuid_data

2013-11-07 Thread Gleb Natapov
[cpuid_i++]; -memset(c, 0, sizeof(*c)); c-function = KVM_CPUID_SIGNATURE_NEXT; memcpy(signature, KVMKVMKVM\0\0\0, 12); c-eax = 0; -- 1.7.10.4 -- Gleb.

Re: [Qemu-devel] [PATCH uq/master] pci-assign: Remove dead code for direct I/O region access from userspace

2013-11-05 Thread Gleb Natapov
; } +DEBUG(pread val=% PRIx64 , size=%d, e_phys= TARGET_FMT_plx + , addr= TARGET_FMT_plx \n, val, size, addr, addr); } return val; } -- 1.8.1.1.298.ge7eed54 -- Gleb.

Re: [Qemu-devel] [PATCH uq/master] KVM: x86: fix typo in KVM_GET_XCRS

2013-11-04 Thread Gleb Natapov
*/ -if (xcrs.xcrs[0].xcr == 0) { -env-xcr0 = xcrs.xcrs[0].value; +if (xcrs.xcrs[i].xcr == 0) { +env-xcr0 = xcrs.xcrs[i].value; break; } } -- 1.8.3.1 -- Gleb.

Re: [Qemu-devel] [PATCH] import kvm-unittest in QEMU source tree

2013-10-31 Thread Gleb Natapov
from commit 2bc0e29 git-subtree-dir: kvm-unittest git-subtree-split: 2bc0e29ee4447bebcd3b90053881f59265306adc Signed-off-by: Michael S. Tsirkin m...@redhat.com --- Gleb, Paolo, any objections to this? I really want a small guest for running ACPI tests during make check

Re: [Qemu-devel] [patch 2/2] i386: pc: align gpa-hpa on 1GB boundary

2013-10-30 Thread Gleb Natapov
, and map the remaining 1GB-aligned regions to individual 1GB pages. I am trying to avoid 1) as it complicates management (and fixes a bug). -- Gleb.

Re: [Qemu-devel] Prohibit Windows from running in QEMU

2013-10-29 Thread Gleb Natapov
was thinking about this, but wouldn't this mean the cpu signature would always be Microsoft Hv and not KVMKVMKVM\0\0\0? The KVM signature should be at CPUID leaf 0x4100. But only recently Linux started to search for it there. -- Gleb.

Re: [Qemu-devel] kvm/hyper-v: obtaining client machine id

2013-10-29 Thread Gleb Natapov
. -- Gleb.

Re: [Qemu-devel] Prohibit Windows from running in QEMU

2013-10-29 Thread Gleb Natapov
? -- Gleb.

Re: [Qemu-devel] Prohibit Windows from running in QEMU

2013-10-29 Thread Gleb Natapov
On Tue, Oct 29, 2013 at 12:31:18PM +0100, Peter Lieven wrote: On 29.10.2013 12:26, Gleb Natapov wrote: On Tue, Oct 29, 2013 at 01:13:24PM +0200, Michael S. Tsirkin wrote: On Tue, Oct 29, 2013 at 10:48:07AM +0100, Peter Lieven wrote: Hi all, this question might seem a bit weird, but does

Re: [Qemu-devel] Prohibit Windows from running in QEMU

2013-10-29 Thread Gleb Natapov
On Tue, Oct 29, 2013 at 02:17:10PM +0200, Michael S. Tsirkin wrote: On Tue, Oct 29, 2013 at 01:26:59PM +0200, Gleb Natapov wrote: On Tue, Oct 29, 2013 at 01:13:24PM +0200, Michael S. Tsirkin wrote: On Tue, Oct 29, 2013 at 10:48:07AM +0100, Peter Lieven wrote: Hi all

Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older

2013-10-17 Thread Gleb Natapov
, unsigned val) { -asm volatile(outl %d0, %w1 : : a(val), Nd(port)); +asm volatile(outl %0, %w1 : : a(val), Nd(port)); } static unsigned int inb(unsigned short port) -- Gleb.

Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older

2013-10-17 Thread Gleb Natapov
On Thu, Oct 17, 2013 at 11:12:31AM +0300, Michael S. Tsirkin wrote: On Thu, Oct 17, 2013 at 09:27:51AM +0300, Gleb Natapov wrote: On Wed, Oct 16, 2013 at 10:46:53PM +0300, Michael S. Tsirkin wrote: Old GCC didn't let you reference variable by number if it is listed with a specific

Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older

2013-10-17 Thread Gleb Natapov
On Thu, Oct 17, 2013 at 11:27:37AM +0300, Michael S. Tsirkin wrote: On Thu, Oct 17, 2013 at 11:20:27AM +0300, Gleb Natapov wrote: On Thu, Oct 17, 2013 at 11:12:31AM +0300, Michael S. Tsirkin wrote: On Thu, Oct 17, 2013 at 09:27:51AM +0300, Gleb Natapov wrote: On Wed, Oct 16, 2013 at 10

Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older

2013-10-17 Thread Gleb Natapov
On Thu, Oct 17, 2013 at 12:28:58PM +0300, Michael S. Tsirkin wrote: On Thu, Oct 17, 2013 at 11:34:41AM +0300, Gleb Natapov wrote: On Thu, Oct 17, 2013 at 11:27:37AM +0300, Michael S. Tsirkin wrote: On Thu, Oct 17, 2013 at 11:20:27AM +0300, Gleb Natapov wrote: On Thu, Oct 17, 2013 at 11

Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older

2013-10-17 Thread Gleb Natapov
On Thu, Oct 17, 2013 at 12:44:46PM +0300, Michael S. Tsirkin wrote: On Thu, Oct 17, 2013 at 12:33:39PM +0300, Gleb Natapov wrote: It just papers over the problem. Compiler should either complain that it does not know what %w0 or complain that variable length does not match assembly

Re: [Qemu-devel] [PATCH] kvm-unittest: fix build with gcc 4.3.X and older

2013-10-17 Thread Gleb Natapov
On Thu, Oct 17, 2013 at 12:55:16PM +0200, Paolo Bonzini wrote: Il 17/10/2013 08:27, Gleb Natapov ha scritto: On Wed, Oct 16, 2013 at 10:46:53PM +0300, Michael S. Tsirkin wrote: Old GCC didn't let you reference variable by number if it is listed with a specific register constraint

Re: [Qemu-devel] RFC: KVM _CREATE_DEVICE considered harmful?

2013-10-16 Thread Gleb Natapov
will be less then happy. -- Gleb.

Re: [Qemu-devel] [PULL 42/43] piix4: add acpi pci hotplug support

2013-10-16 Thread Gleb Natapov
scritto: Gleb, Paolo, what do you think? OK to merge kvm unit test into qemu? It depends on qemu anyway, in-tree will make it easier. Maybe someone's looking at this already? I think merging KVM unit tests doesn't make much sense because, with some small exceptions, it is mostly

Re: [Qemu-devel] [PATCH] virtio: Introduce virtio-testdev

2013-10-15 Thread Gleb Natapov
for use by unit tests. It does not normally present and may contain hacks not suitable for human consumption. -- Gleb.

Re: [Qemu-devel] problems with 1G hugepages and linux 3.12-rc3

2013-10-09 Thread Gleb Natapov
/majordomo-info.html -- Gleb.

Re: [Qemu-devel] [PATCH uq/master] kvmvapic: Prevent reading beyond the end of guest RAM

2013-10-04 Thread Gleb Natapov
= memory_region_size(section.mr)) { +return -1; +} ram = memory_region_get_ram_ptr(section.mr); rom_size = ram[rom_paddr + 2] * ROM_BLOCK_SIZE; if (rom_size == 0) { -- 1.8.1.1.298.ge7eed54 -- Gleb.

Re: [Qemu-devel] [PATCH v3 uq/master 2/2] x86: cpuid: reconstruct leaf 0Dh data

2013-10-03 Thread Gleb Natapov
; +} case 0x8000: *eax = env-cpuid_xlevel; *ebx = env-cpuid_vendor1; -- Gleb.

Re: [Qemu-devel] [PATCH v2 uq/master 2/2] x86: cpuid: reconstruct leaf 0Dh data

2013-10-02 Thread Gleb Natapov
-info.html -- Gleb.

Re: [Qemu-devel] [PATCH v2 uq/master 2/2] x86: cpuid: reconstruct leaf 0Dh data

2013-10-02 Thread Gleb Natapov
On Wed, Oct 02, 2013 at 05:37:31PM +0200, Paolo Bonzini wrote: Il 02/10/2013 17:21, Gleb Natapov ha scritto: -if (kvm_enabled()) { -KVMState *s = cs-kvm_state; +kvm_mask = +kvm_arch_get_supported_cpuid(s, 0xd, 0, R_EAX) | +((uint64_t

Re: [Qemu-devel] [PATCH v3 uq/master 2/2] x86: cpuid: reconstruct leaf 0Dh data

2013-10-02 Thread Gleb Natapov
-- Gleb.

Re: [Qemu-devel] [Bug 599958] Re: Timedrift problems with Win7: hpet missing time drift fixups

2013-10-01 Thread Gleb Natapov
is to register those issues and keep an eye on them. Attached, some logs from the autotest tests executed on the guest To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/599958/+subscriptions -- Gleb.

Re: [Qemu-devel] [Bug 599958] Re: Timedrift problems with Win7: hpet missing time drift fixups

2013-10-01 Thread Gleb Natapov
guest. On Tue, Oct 1, 2013 at 10:56 AM, Gleb Natapov g...@redhat.com wrote: On Tue, Oct 01, 2013 at 09:34:06AM -, Ben A wrote: Apparently this bug's still alive and kicking. And no plans to fix it. Do not use hpet with windows guests this buys you nothing. There's an obvious clock

Re: [Qemu-devel] [Bug 599958] Re: Timedrift problems with Win7: hpet missing time drift fixups

2013-10-01 Thread Gleb Natapov
, Oct 1, 2013 at 11:33 AM, Gleb Natapov g...@redhat.com wrote: On Tue, Oct 01, 2013 at 11:23:07AM -0500, Ben Root Anderson wrote: Fair enough in itself, but if HPET is known to have problems with arguably the most popular OS family to use as a guest, why is it enabled by default

Re: [Qemu-devel] [PATCH 1/6] kvm: Add KVM_GET_EMULATED_CPUID

2013-09-24 Thread Gleb Natapov
, the distinction should be very clear. At least this is how I see it but Gleb probably can comment too. That's how I see it two. Basically you want to use movbe emulation (as opposite of virtualization) only if you have binary kernel that compiled for CPU with movbe (Borislav's use case), or you want

Re: [Qemu-devel] in_asm substitute for accel=kvm:tcg

2013-09-22 Thread Gleb Natapov
Gapon -- Gleb.

Re: [Qemu-devel] [PATCH] target-i386: Enable x2apic by default on more recent CPU models

2013-09-22 Thread Gleb Natapov
. This shouldn't affect TCG at all because features not supported by TCG are automatically and silently disabled by QEMU when initializing the CPU. Signed-off-by: Eduardo Habkost ehabk...@redhat.com Acked-by: Gleb Natapov g...@redhat.com --- hw/i386/pc_piix.c | 9 + hw/i386/pc_q35.c | 9

Re: [Qemu-devel] in_asm substitute for accel=kvm:tcg

2013-09-22 Thread Gleb Natapov
On Sun, Sep 22, 2013 at 11:05:37AM +0300, Andriy Gapon wrote: on 22/09/2013 09:31 Gleb Natapov said the following: Which kernel version is this? What BSD version? $ uname -a Linux kvm 3.8.0-27-generic #40-Ubuntu SMP Tue Jul 9 00:17:05 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux That's pretty

Re: [Qemu-devel] cpufreq and QEMU guests

2013-09-17 Thread Gleb Natapov
On Mon, Sep 16, 2013 at 08:42:58PM +0200, Benoît Canet wrote: Le Monday 16 Sep 2013 à 18:58:40 (+0300), Gleb Natapov a écrit : On Mon, Sep 16, 2013 at 05:46:04PM +0200, Benoît Canet wrote: Le Monday 16 Sep 2013 à 18:32:39 (+0300), Gleb Natapov a écrit : On Mon, Sep 16, 2013 at 05:05:45PM

Re: [Qemu-devel] in_asm substitute for accel=kvm:tcg

2013-09-17 Thread Gleb Natapov
for this. http://www.linux-kvm.org/page/Tracing -- Gleb.

Re: [Qemu-devel] [PATCH] linux-headers: update to 3.11

2013-09-17 Thread Gleb Natapov
branch will make sure that you are working on most up to date kvm bits. If you work depends on something that is not in qemu-kvm.git then let kvm maintainers know and we will send pull request to Anthony earlier. -- Gleb.

Re: [Qemu-devel] [PATCH] qdev-monitor: Avoid exiting when hot-plugging two devices with the same bootindex value

2013-09-16 Thread Gleb Natapov
happens ans this is easy since nobody knows how well device creation errors are handled by qdev. -- Gleb.

Re: [Qemu-devel] cpufreq and QEMU guests

2013-09-16 Thread Gleb Natapov
On Mon, Sep 16, 2013 at 05:46:04PM +0200, Benoît Canet wrote: Le Monday 16 Sep 2013 à 18:32:39 (+0300), Gleb Natapov a écrit : On Mon, Sep 16, 2013 at 05:05:45PM +0200, Benoît Canet wrote: Le Monday 16 Sep 2013 à 09:39:10 (-0500), Alexander Graf a écrit : Am 16.09.2013 um 07:15

Re: [Qemu-devel] cpufreq and QEMU guests

2013-09-16 Thread Gleb Natapov
be underperforming to mitigate the high inter vm communication costs. Do you think the steal time trick would work for this ? -- Gleb.

Re: [Qemu-devel] [Bug 1180777] Re: Windows 7 VM freeze on Ubuntu 12.04 KVM

2013-09-15 Thread Gleb Natapov
-Packard:ct10:cvr: dmi.product.name: HP ProBook 4520s dmi.sys.vendor: Hewlett-Packard To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1180777/+subscriptions -- Gleb.

Re: [Qemu-devel] [PATCH v2 0/2] KVM: s390: add floating irq controller

2013-09-15 Thread Gleb Natapov
/kvm_host.h| 1 + include/uapi/linux/kvm.h| 65 + virt/kvm/kvm_main.c | 5 + 8 files changed, 368 insertions(+), 84 deletions(-) create mode 100644 Documentation/virtual/kvm/devices/s390_flic.txt Gleb

Re: [Qemu-devel] guest kernel 3.10 panic at boot (__mcheck_cpu_init_generic) with kvm64 vcpu + amd host cpu (qemu 1.4)

2013-09-11 Thread Gleb Natapov
[81018167] __mcheck_cpu_init_generic+0x8f/0xb1 [0.052000] RSP 81601ef8 [0.052029] ---[ end trace 762a7d1ce4cb828c ]--- [0.053949] Kernel panic - not syncing: Attempted to kill the idle task! -- Gleb.

Re: [Qemu-devel] [PATCH uq/master 1/2] x86: fix migration from pre-version 12

2013-09-09 Thread Gleb Natapov
On Mon, Sep 09, 2013 at 10:31:15AM +0200, Paolo Bonzini wrote: Il 08/09/2013 13:40, Gleb Natapov ha scritto: On Thu, Sep 05, 2013 at 03:06:21PM +0200, Paolo Bonzini wrote: On KVM, the KVM_SET_XSAVE would be executed with a 0 xstate_bv, and not restore anything. XRSTOR restores FP/SSE

Re: [Qemu-devel] [PATCH uq/master 2/2] KVM: make XSAVE support more robust

2013-09-09 Thread Gleb Natapov
On Mon, Sep 09, 2013 at 10:51:58AM +0200, Paolo Bonzini wrote: Il 08/09/2013 13:52, Gleb Natapov ha scritto: On Thu, Sep 05, 2013 at 03:06:22PM +0200, Paolo Bonzini wrote: QEMU moves state from CPUArchState to struct kvm_xsave and back when it invokes the KVM_*_XSAVE ioctls. Because

Re: [Qemu-devel] [PATCH uq/master 2/2] KVM: make XSAVE support more robust

2013-09-09 Thread Gleb Natapov
On Mon, Sep 09, 2013 at 11:50:03AM +0200, Paolo Bonzini wrote: Il 09/09/2013 11:18, Gleb Natapov ha scritto: On Mon, Sep 09, 2013 at 10:51:58AM +0200, Paolo Bonzini wrote: Il 08/09/2013 13:52, Gleb Natapov ha scritto: On Thu, Sep 05, 2013 at 03:06:22PM +0200, Paolo Bonzini wrote: QEMU

Re: [Qemu-devel] [PATCH uq/master 1/2] x86: fix migration from pre-version 12

2013-09-09 Thread Gleb Natapov
On Mon, Sep 09, 2013 at 11:53:45AM +0200, Paolo Bonzini wrote: Il 09/09/2013 11:03, Gleb Natapov ha scritto: On Mon, Sep 09, 2013 at 10:31:15AM +0200, Paolo Bonzini wrote: Il 08/09/2013 13:40, Gleb Natapov ha scritto: On Thu, Sep 05, 2013 at 03:06:21PM +0200, Paolo Bonzini wrote: On KVM

Re: [Qemu-devel] [PATCH uq/master 1/2] x86: fix migration from pre-version 12

2013-09-09 Thread Gleb Natapov
On Mon, Sep 09, 2013 at 01:54:50PM +0300, Gleb Natapov wrote: On Mon, Sep 09, 2013 at 11:53:45AM +0200, Paolo Bonzini wrote: Il 09/09/2013 11:03, Gleb Natapov ha scritto: On Mon, Sep 09, 2013 at 10:31:15AM +0200, Paolo Bonzini wrote: Il 08/09/2013 13:40, Gleb Natapov ha scritto: On Thu

Re: [Qemu-devel] [PATCH uq/master 1/2] x86: fix migration from pre-version 12

2013-09-09 Thread Gleb Natapov
obeys CPUID bits it receives, and the CPUID bits that QEMU passes will never enable XSAVE data that QEMU does not support. -- Gleb.

Re: [Qemu-devel] [PATCH uq/master 1/2] x86: fix migration from pre-version 12

2013-09-09 Thread Gleb Natapov
! -- Gleb.

Re: [Qemu-devel] [PATCH uq/master 1/2] x86: fix migration from pre-version 12

2013-09-08 Thread Gleb Natapov
2 +#define XSTATE_YMM 4 + /* CPUID feature words */ typedef enum FeatureWord { FEAT_1_EDX, /* CPUID[1].EDX */ -- 1.8.3.1 -- Gleb.

Re: [Qemu-devel] [PATCH uq/master 2/2] KVM: make XSAVE support more robust

2013-09-08 Thread Gleb Natapov
; +} + /* * Real mode guest segments register DPL should be zero. * Older KVM version were setting it wrongly. -- 1.8.3.1 -- Gleb.

Re: [Qemu-devel] [PATCH v2] kvm: warn if num cpus is greater than num recommended

2013-09-03 Thread Gleb Natapov
; +} +} +nc++; } s-vmfd = kvm_ioctl(s, KVM_CREATE_VM, 0); -- 1.8.1.4 -- Gleb.

Re: [Qemu-devel] [KVM] segmentation fault happened when reboot VM after hot-uplug virtio NIC

2013-09-03 Thread Gleb Natapov
) { s-state = VAPIC_INACTIVE; break; -- 1.8.1.4 Thanks, Daniel -- Gleb.

Re: [Qemu-devel] [PATCH] KVM: always use MADV_DONTFORK

2013-09-01 Thread Gleb Natapov
-host, size, QEMU_MADV_HUGEPAGE); +qemu_madvise(new_block-host, size, QEMU_MADV_DONTFORK); if (kvm_enabled()) kvm_setup_guest_memory(new_block-host, size); -- Gleb.

Re: [Qemu-devel] [PATCH v2] kvm: warn if num cpus is greater than num recommended

2013-09-01 Thread Gleb Natapov
; +} +} +nc++; } s-vmfd = kvm_ioctl(s, KVM_CREATE_VM, 0); -- 1.8.1.4 -- Gleb.

Re: [Qemu-devel] [PATCH v2] cpu: Move cpu state syncs up into cpu_dump_state()

2013-09-01 Thread Gleb Natapov
-off-by: James Hogan james.ho...@imgtec.com Cc: Andreas Färber afaer...@suse.de Cc: Alexander Graf ag...@suse.de Cc: Gleb Natapov g...@redhat.com Cc: qemu-...@nongnu.org Cc: k...@vger.kernel.org --- Changes in v2 (was kvm: sync cpu state on internal error before dump) - rewrite to fix

Re: [Qemu-devel] [edk2] OVMF hung on qemu 1.6.0 with KVM

2013-08-30 Thread Gleb Natapov
work. Paolo -- Gleb.

Re: [Qemu-devel] PING^2 Re: [PATCH] KVM: always use MADV_DONTFORK

2013-08-30 Thread Gleb Natapov
it. -- Gleb.

[Qemu-devel] [PATCH v3 00/10] [PULL] qemu-kvm.git uq/master queue

2013-08-28 Thread Gleb Natapov
Anthony, This obsoletes [PULL v2 0/9] KVM changes for 2013-08-23 The following changes since commit f03d07d4683b2e8325a7cb60b4e14b977b1a869c: Merge remote-tracking branch 'quintela/migration.next' into staging (2013-07-23 10:57:23 -0500) are available in the git repository at:

[Qemu-devel] [PATCH 09/10] kvm: shorten the parameter list for get_real_device()

2013-08-28 Thread Gleb Natapov
From: Wei Yang weiy...@linux.vnet.ibm.com get_real_device() has 5 parameters with the last 4 is contained in the first structure. This patch removes the last 4 parameters and directly use them from the first parameter. Acked-by: Alex Williamson alex.william...@redhat.com Signed-off-by: Wei Yang

[Qemu-devel] [PATCH 03/10] kvm: migrate vPMU state

2013-08-28 Thread Gleb Natapov
From: Paolo Bonzini pbonz...@redhat.com Reviewed-by: Gleb Natapov gnata...@redhat.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- target-i386/cpu.h | 23 target-i386/kvm.c | 93 ++--- target-i386/machine.c | 44

[Qemu-devel] [PATCH 08/10] kvm: i386: fix LAPIC TSC deadline timer save/restore

2013-08-28 Thread Gleb Natapov
From: Marcelo Tosatti mtosa...@redhat.com The configuration of the timer represented by MSR_IA32_TSCDEADLINE depends on: - APIC LVT Timer register. - TSC value. Change the order to respect the dependency. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Signed-off-by: Paolo Bonzini

[Qemu-devel] [PATCH 10/10] kvm-stub: fix compilation

2013-08-28 Thread Gleb Natapov
From: Paolo Bonzini pbonz...@redhat.com Non-KVM targets fail compilation on the uq/master branch. Fix the prototype of kvm_irqchip_add_irqfd_notifier to match the one in kvm-all.c. Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Gleb Natapov g...@redhat.com --- kvm-stub.c |3

[Qemu-devel] [PATCH 04/10] kvm: add KVM_IRQFD_FLAG_RESAMPLE support

2013-08-28 Thread Gleb Natapov
From: Vincenzo Maffione v.maffi...@gmail.com Added an EventNotifier* parameter to kvm-all.c:kvm_irqchip_add_irqfd_notifier(), in order to give KVM another eventfd to be used as resamplefd. See the documentation in the linux kernel sources in Documentation/virtual/kvm/api.txt (section 4.75) for

[Qemu-devel] [PATCH 01/10] Initialize IA32_FEATURE_CONTROL MSR in reset and migration

2013-08-28 Thread Gleb Natapov
From: Arthur Chunqi Li yzt...@gmail.com The recent KVM patch adds IA32_FEATURE_CONTROL support. QEMU needs to clear this MSR when reset vCPU and keep the value of it when migration. This patch add this feature. Signed-off-by: Arthur Chunqi Li yzt...@gmail.com Signed-off-by: Gleb Natapov g

[Qemu-devel] [PATCH 07/10] kvm-all.c: max_cpus should not exceed KVM vcpu limit

2013-08-28 Thread Gleb Natapov
From: Marcelo Tosatti mtosa...@redhat.com maxcpus, which specifies the maximum number of hotpluggable CPUs, should not exceed KVM's vcpu limit. Signed-off-by: Marcelo Tosatti mtosa...@redhat.com [Reword message. - Paolo] Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- kvm-all.c |7

[Qemu-devel] [PATCH 02/10] target-i386: remove tabs from target-i386/cpu.h

2013-08-28 Thread Gleb Natapov
From: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- target-i386/cpu.h | 192 ++--- 1 file changed, 96 insertions(+), 96 deletions(-) diff --git a/target-i386/cpu.h b/target-i386/cpu.h index

[Qemu-devel] [PATCH 05/10] kvm: x86: fix setting IA32_FEATURE_CONTROL with nested VMX disabled

2013-08-28 Thread Gleb Natapov
From: Liu Jinsong jinsong@intel.com This patch is to fix the bug https://bugs.launchpad.net/qemu-kvm/+bug/1207623 IA32_FEATURE_CONTROL is pointless if not expose VMX or SMX bits to cpuid.1.ecx of vcpu. Current qemu-kvm will error return when kvm_put_msrs or kvm_get_msrs. Signed-off-by: Liu

[Qemu-devel] [PATCH 06/10] kvm: Simplify kvm_handle_io

2013-08-28 Thread Gleb Natapov
From: Jan Kiszka jan.kis...@siemens.com Now that cpu_in/out is just a wrapper around address_space_rw, we can also call the latter directly. As host endianness == guest endianness, there is no need for the memory access helpers st*_p/ld*_p as well. Signed-off-by: Jan Kiszka

Re: [Qemu-devel] KVM guest cpu L3 cache and cpufreq

2013-08-27 Thread Gleb Natapov
cache used by the hardware. So I am chasing a cosmetic bug. If it right ? Right. -- Gleb.

  1   2   3   4   5   6   7   8   9   10   >