Re: [PATCH] virtio-9p: fix QEMU build break

2011-10-10 Thread Zhi Yong Wu
On Tue, Oct 11, 2011 at 12:49 AM, Aneesh Kumar K.V wrote: > On Mon, 10 Oct 2011 22:05:21 +0530, "Aneesh Kumar K.V" > wrote: >> On Mon, 10 Oct 2011 18:30:28 +0800, Zhi Yong Wu >> wrote: >> > qemu build break due to the redefinition of struct file_handle. My >> > qemu.git/HEAD is 8acbc9b21d757a

Re: [PATCH v3 1/6] iommu/core: split mapping to page sizes as supported by the hardware

2011-10-10 Thread Ohad Ben-Cohen
Hi Joerg, On Mon, Oct 10, 2011 at 5:36 PM, Roedel, Joerg wrote: > The master branch is best to base your patches on for generic work. Done. I've revised the patches and attached the main one below; please tell me if it looks ok, and then I'll resubmit the entire patch set. Thanks, Ohad. commit

Re: [PATCH v3 1/6] iommu/core: split mapping to page sizes as supported by the hardware

2011-10-10 Thread Ohad Ben-Cohen
> On Mon, Oct 10, 2011 at 5:36 PM, Roedel, Joerg wrote: >> The master branch is best to base your patches on for generic work. It looks like the master branch is missing something like this: >From acb316aa4bcaf383e8cb1580e30c8635e0a34369 Mon Sep 17 00:00:00 2001 From: Ohad Ben-Cohen Date: Mon,

Fwd: qemudParsePCIDeviceStrs warning

2011-10-10 Thread Krisztián Bánhidy
Hy, I have some strange entries in syslog, to which I couldnt really find any information on google. One forum said to disable apparmor, but I havent any running on system: root@muramasa:~# grep libvirt /var/log/syslog Oct 10 12:03:55 muramasa libvirtd: 12:03:55.308: warning : qemudParsePCIDeviceSt

Re: [Xen-devel] [PATCH 00/10] [PATCH RFC V2] Paravirtualized ticketlocks

2011-10-10 Thread Jeremy Fitzhardinge
On 10/10/2011 12:32 AM, Ingo Molnar wrote: > * Jeremy Fitzhardinge wrote: > >> On 10/06/2011 10:40 AM, Jeremy Fitzhardinge wrote: >>> However, it looks like locked xadd is also has better performance: on >>> my Sandybridge laptop (2 cores, 4 threads), the add+mfence is 20% slower >>> than locked

Re: [Xen-devel] [PATCH 00/10] [PATCH RFC V2] Paravirtualized ticketlocks

2011-10-10 Thread Jeremy Fitzhardinge
On 10/10/2011 07:01 AM, Stephan Diestelhorst wrote: > On Monday 10 October 2011, 07:00:50 Stephan Diestelhorst wrote: >> On Thursday 06 October 2011, 13:40:01 Jeremy Fitzhardinge wrote: >>> On 10/06/2011 07:04 AM, Stephan Diestelhorst wrote: On Wednesday 28 September 2011, 14:49:56 Linus Torva

Re: [PATCH v3 1/6] iommu/core: split mapping to page sizes as supported by the hardware

2011-10-10 Thread Ohad Ben-Cohen
Hi Joerg, On Mon, Oct 10, 2011 at 5:36 PM, Roedel, Joerg wrote: > The master branch is best to base your patches on for generic work. Oh, great. thanks. > It can happen when there is a bug somewhere :) Hmm, bug ? ;) Ok, I'll add a BUG_ON :) > Yes, somthing like that. Probably the iommu_ops->

Re: [PATCH] virtio-9p: fix QEMU build break

2011-10-10 Thread Aneesh Kumar K.V
On Mon, 10 Oct 2011 22:05:21 +0530, "Aneesh Kumar K.V" wrote: > On Mon, 10 Oct 2011 18:30:28 +0800, Zhi Yong Wu > wrote: > > qemu build break due to the redefinition of struct file_handle. My > > qemu.git/HEAD is 8acbc9b21d757a6be4f8492e547b8159703a0547 > > > > Below is the log: > > [root@f15

Re: [PATCH] virtio-9p: fix QEMU build break

2011-10-10 Thread Aneesh Kumar K.V
On Mon, 10 Oct 2011 18:30:28 +0800, Zhi Yong Wu wrote: > qemu build break due to the redefinition of struct file_handle. My > qemu.git/HEAD is 8acbc9b21d757a6be4f8492e547b8159703a0547 > > Below is the log: > [root@f15 qemu]# make > CCqapi-generated/qga-qapi-types.o > LINK qemu-ga > C

[PATCH] Fix include dependency for mmu_notifier

2011-10-10 Thread Eric B Munson
The kvm_host struct can include an mmu_notifier struct but mmu_notifier.h is not included directly. Signed-off-by: Eric B Munson --- include/linux/kvm_host.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index eabb21a

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

2011-10-10 Thread Avi Kivity
On 10/10/2011 05:36 PM, Anthony Liguori wrote: Ok. So bumping the version is only right if we don't fix subsections. If we bump *any* version from 0.15 -> 1.0, then there's no point at all in having a subsection. Did we bump versions of relevant devices? If we break compatibility by using

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

2011-10-10 Thread Anthony Liguori
On 10/10/2011 10:24 AM, Avi Kivity wrote: On 10/10/2011 05:12 PM, Anthony Liguori wrote: On 10/10/2011 10:00 AM, Avi Kivity wrote: On 10/10/2011 04:55 PM, Anthony Liguori wrote: Hrm, sorry about that. In the future, it would be helpful to explicitly withdrawal a PULL request. Do you want me

Re: [PATCH v3 1/6] iommu/core: split mapping to page sizes as supported by the hardware

2011-10-10 Thread Roedel, Joerg
Hi Ohad, On Mon, Oct 10, 2011 at 09:59:22AM -0400, Ohad Ben-Cohen wrote: > > Also, the bus_set_iommu interface is now in the -next branch. Would be > > good if you rebase the patches to that interface. > > Sure. It's a little tricky though: which branch do I base this on ? > Are you ok with me ba

Re: [Qemu-devel] [PATCH 1/1] kvm: support TSC deadline MSR

2011-10-10 Thread Avi Kivity
On 10/10/2011 05:10 PM, Anthony Liguori wrote: It's irreversible, once we release a version with a bumped ID we can't go back. But the question is whether we've bumped *any* versions of common devices since 0.15 because if so, it's moot here. What's the answer? And if the answer is we did

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

2011-10-10 Thread Avi Kivity
On 10/10/2011 05:12 PM, Anthony Liguori wrote: On 10/10/2011 10:00 AM, Avi Kivity wrote: On 10/10/2011 04:55 PM, Anthony Liguori wrote: Hrm, sorry about that. In the future, it would be helpful to explicitly withdrawal a PULL request. Do you want me to revert? We'll send the revert together

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

2011-10-10 Thread Anthony Liguori
On 10/10/2011 10:00 AM, Avi Kivity wrote: On 10/10/2011 04:55 PM, Anthony Liguori wrote: Hrm, sorry about that. In the future, it would be helpful to explicitly withdrawal a PULL request. Do you want me to revert? We'll send the revert together with the new patch. FWIW, I think bumping the

Re: [Qemu-devel] [PATCH 1/1] kvm: support TSC deadline MSR

2011-10-10 Thread Anthony Liguori
On 10/10/2011 09:58 AM, Avi Kivity wrote: On 10/10/2011 04:54 PM, Anthony Liguori wrote: On 10/04/2011 05:20 PM, Marcelo Tosatti wrote: On Tue, Oct 04, 2011 at 07:53:42PM +0200, Avi Kivity wrote: On 10/03/2011 10:55 PM, Marcelo Tosatti wrote: From: "Liu, Jinsong" KVM add emulation of lapic t

[PATCH 2/2] KVM test: guest-os.cfg: Introduce Ubuntu 11.04 server variant

2011-10-10 Thread Lucas Meneghel Rodrigues
Add a Ubuntu 11.04 server variant, with unattended install set. With this, it's possible to install the latest Ubuntu server (as of the time of this patch). A preseed file comes together. Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/guest-os.cfg.sample | 34

[PATCH 0/2] Debian preseed support

2011-10-10 Thread Lucas Meneghel Rodrigues
This patchset adds support to debian preseed files http://wiki.debian.org/DebianInstaller/Preseed Comes with Ubuntu server 11.04 support. Later, more patches adding Debian and other Ubuntu server variants will be added. This patchset was also sent as a pull request https://github.com/autotest/a

[PATCH 1/2] KVM test: Introduce debian preseed unattended file support

2011-10-10 Thread Lucas Meneghel Rodrigues
Add support to debian preseed http://wiki.debian.org/DebianInstaller/Preseed unattended install file format. In order to get fully automated d-i automation, we are using initrd preseed method (add a preseed.cfg file on top of the initrd filesystem). Tested with Ubuntu server 11.04, will add other

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

2011-10-10 Thread Avi Kivity
On 10/10/2011 04:55 PM, Anthony Liguori wrote: Hrm, sorry about that. In the future, it would be helpful to explicitly withdrawal a PULL request. Do you want me to revert? We'll send the revert together with the new patch. FWIW, I think bumping the version is the right thing to do. W

Re: [Qemu-devel] [PATCH 1/1] kvm: support TSC deadline MSR

2011-10-10 Thread Avi Kivity
On 10/10/2011 04:54 PM, Anthony Liguori wrote: On 10/04/2011 05:20 PM, Marcelo Tosatti wrote: On Tue, Oct 04, 2011 at 07:53:42PM +0200, Avi Kivity wrote: On 10/03/2011 10:55 PM, Marcelo Tosatti wrote: From: "Liu, Jinsong" KVM add emulation of lapic tsc deadline timer for guest. This patch is

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

2011-10-10 Thread Anthony Liguori
On 10/10/2011 09:48 AM, Avi Kivity wrote: On 10/10/2011 04:41 PM, Anthony Liguori wrote: On 10/03/2011 03:55 PM, Marcelo Tosatti wrote: The following changes since commit d11cf8cc80d946dfc9a23597cd9a0bb1c487cfa7: etrax-dma: Remove bogus if statement (2011-10-03 10:20:13 +0200) are available i

Re: [Qemu-devel] [PATCH 1/1] kvm: support TSC deadline MSR

2011-10-10 Thread Anthony Liguori
On 10/04/2011 05:20 PM, Marcelo Tosatti wrote: On Tue, Oct 04, 2011 at 07:53:42PM +0200, Avi Kivity wrote: On 10/03/2011 10:55 PM, Marcelo Tosatti wrote: From: "Liu, Jinsong" KVM add emulation of lapic tsc deadline timer for guest. This patch is co-operation work at qemu side. -#define CPU_SA

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

2011-10-10 Thread Avi Kivity
On 10/10/2011 04:41 PM, Anthony Liguori wrote: On 10/03/2011 03:55 PM, Marcelo Tosatti wrote: The following changes since commit d11cf8cc80d946dfc9a23597cd9a0bb1c487cfa7: etrax-dma: Remove bogus if statement (2011-10-03 10:20:13 +0200) are available in the git repository at: git://githu

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

2011-10-10 Thread Anthony Liguori
On 10/03/2011 03:55 PM, Marcelo Tosatti wrote: The following changes since commit d11cf8cc80d946dfc9a23597cd9a0bb1c487cfa7: etrax-dma: Remove bogus if statement (2011-10-03 10:20:13 +0200) are available in the git repository at: git://github.com/avikivity/qemu.git uq/master Pulled. Tha

Re: [Xen-devel] [PATCH 00/10] [PATCH RFC V2] Paravirtualized ticketlocks

2011-10-10 Thread Stephan Diestelhorst
On Monday 10 October 2011, 07:00:50 Stephan Diestelhorst wrote: > On Thursday 06 October 2011, 13:40:01 Jeremy Fitzhardinge wrote: > > On 10/06/2011 07:04 AM, Stephan Diestelhorst wrote: > > > On Wednesday 28 September 2011, 14:49:56 Linus Torvalds wrote: > > >> Which certainly should *work*, but f

Re: [PATCH v3 1/6] iommu/core: split mapping to page sizes as supported by the hardware

2011-10-10 Thread Ohad Ben-Cohen
On Mon, Oct 10, 2011 at 2:52 PM, KyongHo Cho wrote: > Do not we need to unmap all intermediate mappings if iommu_map() is failed? Good idea, I'll add it. Thanks! Ohad. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More maj

Re: [PATCH v3 1/6] iommu/core: split mapping to page sizes as supported by the hardware

2011-10-10 Thread Ohad Ben-Cohen
[ -bouncing hiroshi.d...@nokia.com, +not-bouncing hd...@nvidia.com : hi Hiroshi :) ] Hi Joerg, On Mon, Oct 10, 2011 at 11:47 AM, Roedel, Joerg wrote: > sorry, I was on vacation last week and had no time to look into this. Sure thing, thanks for replying! >> +#include > > Is this still require

Re: [PATCH 2/2] pci-assign: Fix MSI-X registration

2011-10-10 Thread Avi Kivity
On 09/22/2011 12:04 PM, Jan Kiszka wrote: > goto out; > > +if (!kvm_check_extension(kvm_state, KVM_CAP_ASSIGN_DEV_IRQ)&& > +(dev->cap.available& ASSIGNED_DEVICE_CAP_MSIX || > + dev->cap.available& ASSIGNED_DEVICE_CAP_MSI || > + assigned_dev_pci_read_byt

Re: [kvm] Re: tcpdump locks up kvm host for a while.

2011-10-10 Thread Avi Kivity
On 10/05/2011 10:29 PM, Robin Lee Powell wrote: > > # > # (For a higher level overview, try: perf report --sort comm,dso) > # > > How helpful is that? -_- > > I'm guessing I need --guestkallsyms= ; since they're all the same > kernel I thought it'd figure it out. I'll redo. OK, here's a

Re: [PATCH v3 1/6] iommu/core: split mapping to page sizes as supported by the hardware

2011-10-10 Thread KyongHo Cho
On Mon, Oct 3, 2011 at 12:58 AM, Ohad Ben-Cohen wrote: >  int iommu_map(struct iommu_domain *domain, unsigned long iova, > -             phys_addr_t paddr, int gfp_order, int prot) > +             phys_addr_t paddr, size_t size, int prot) >  { > -       size_t size; > +       int ret = 0; > + > +

KVM call agenda for October 11th

2011-10-10 Thread Juan Quintela
Hi Please send in any agenda items you are interested in covering. Thanks, Juan. pgp2ZkeuIbtbB.pgp Description: PGP signature

Re: [Xen-devel] [PATCH 00/10] [PATCH RFC V2] Paravirtualized ticketlocks

2011-10-10 Thread Stephan Diestelhorst
On Thursday 06 October 2011, 13:40:01 Jeremy Fitzhardinge wrote: > On 10/06/2011 07:04 AM, Stephan Diestelhorst wrote: > > On Wednesday 28 September 2011, 14:49:56 Linus Torvalds wrote: > >> Which certainly should *work*, but from a conceptual standpoint, isn't > >> it just *much* nicer to say "we

Re: [PATCH 1/4] [kvm-autotest] cgroup-kvm: add_*_drive / rm_drive

2011-10-10 Thread Lukáš Doktor
I thought about that. But pci_add is not much stable and it's not supported in QMP (as far as I read) with a note that this way is buggy and should be rewritten completely. So I placed it here to let it develop and then I can move it into utils. Regards, Lukáš Dne 10.10.2011 12:26, Jiri Zupka

Re: [PATCH v2 0/9] perf support for x86 guest/host-only bits

2011-10-10 Thread Roedel, Joerg
Hi Gleb, On Wed, Oct 05, 2011 at 08:01:15AM -0400, Gleb Natapov wrote: > This patch series consists of Joerg series named "perf support for amd > guest/host-only bits v2" [1] rebased to 3.1.0-rc7 and in addition, > support for intel cpus for the same functionality. > > [1] https://lkml.org/lkml/2

Re: [PATCH][uq/master] kvm: Add tool for querying VMX capabilities

2011-10-10 Thread Avi Kivity
On 10/07/2011 09:37 AM, Jan Kiszka wrote: Taken from original qemu-kvm/kvm/scripts/vmxcap. Applied, thanks. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org

Re: [PATCH][uq/master] kvm: Add top-like kvm statistics script

2011-10-10 Thread Avi Kivity
On 10/07/2011 09:37 AM, Jan Kiszka wrote: Taken from original qemu-kvm/kvm/kvm_stat. Applied, thanks. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More m

[PATCH] virtio-9p: fix QEMU build break

2011-10-10 Thread Zhi Yong Wu
qemu build break due to the redefinition of struct file_handle. My qemu.git/HEAD is 8acbc9b21d757a6be4f8492e547b8159703a0547 Below is the log: [root@f15 qemu]# make CCqapi-generated/qga-qapi-types.o LINK qemu-ga CClibhw64/9pfs/virtio-9p-handle.o /home/zwu/work/virt/qemu/hw/9pfs/vir

Re: [PATCH] apic: test tsc deadline timer

2011-10-10 Thread Avi Kivity
On 10/09/2011 05:32 PM, Liu, Jinsong wrote: Updated test case for kvm tsc deadline timer https://github.com/avikivity/kvm-unit-tests, as attached. Applied, thanks. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm

Re: [PATCH] Update README example

2011-10-10 Thread Avi Kivity
On 10/09/2011 06:02 PM, Liu, Jinsong wrote: Subject: [PATCH] Update README example Thanks, applied. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More maj

Re: [PATCH 1/4] [kvm-autotest] cgroup-kvm: add_*_drive / rm_drive

2011-10-10 Thread Jiri Zupka
This is useful function. This function can be in kvm utils. - Original Message - > * functions for adding and removal of drive to vm using host-file or >host-scsi_debug device. > > Signed-off-by: Lukas Doktor > --- > client/tests/kvm/tests/cgroup.py | 125 > +++

Re: [PATCH] kernel/kvm: fix improper nmi emulation

2011-10-10 Thread Avi Kivity
On 10/10/2011 08:06 AM, Lai Jiangshan wrote: From: Kenji Kaneshige Currently, NMI interrupt is blindly sent to all the vCPUs when NMI button event happens. This doesn't properly emulate real hardware on which NMI button event triggers LINT1. Because of this, NMI is sent to the processor even whe

Re: [RFC PATCH 1/7] [hyper-v] Add hyper-v parameters block.

2011-10-10 Thread Jan Kiszka
On 2011-10-10 11:40, Vadim Rozenfeld wrote: > On Mon, 2011-10-10 at 08:54 +0200, Jan Kiszka wrote: >> On 2011-10-09 20:52, Vadim Rozenfeld wrote: >>> --- >>> qemu-options.hx | 23 +++ >>> vl.c|2 ++ >>> 2 files changed, 25 insertions(+), 0 deletions(-) >>> >>>

Re: [PATCH v3 1/6] iommu/core: split mapping to page sizes as supported by the hardware

2011-10-10 Thread Roedel, Joerg
Hi Ohad, sorry, I was on vacation last week and had no time to look into this. On Sun, Oct 02, 2011 at 11:58:12AM -0400, Ohad Ben-Cohen wrote: > drivers/iommu/iommu.c | 138 --- > drivers/iommu/omap-iovmm.c | 12 +--- > include/linux/iommu.h |

Re: [PATCH] qemu-kvm: fix improper nmi emulation

2011-10-10 Thread Andreas Färber
Am 10.10.2011 08:49, schrieb Jan Kiszka: On 2011-10-10 08:06, Lai Jiangshan wrote: From: Kenji Kaneshige Currently, NMI interrupt is blindly sent to all the vCPUs when NMI button event happens. This doesn't properly emulate real hardware on which NMI button event triggers LINT1. Because of this

Re: [PATCH] qemu-kvm: Deprecate drive parameter boot=on|off

2011-10-10 Thread Avi Kivity
On 10/08/2011 09:46 AM, Jan Kiszka wrote: We do not want to maintain this option forever. It will be removed after a grace period of a few releases. So warn the user that this option has no effect and will become invalid soon. Thanks, applied. -- error compiling committee.c: too many argument

Re: [RFC PATCH 1/7] [hyper-v] Add hyper-v parameters block.

2011-10-10 Thread Vadim Rozenfeld
On Mon, 2011-10-10 at 08:54 +0200, Jan Kiszka wrote: > On 2011-10-09 20:52, Vadim Rozenfeld wrote: > > --- > > qemu-options.hx | 23 +++ > > vl.c|2 ++ > > 2 files changed, 25 insertions(+), 0 deletions(-) > > > > diff --git a/qemu-options.hx b/qemu-options.h

Re: [RFC PATCH 0/7] Initial support for Microsoft Hyper-V

2011-10-10 Thread Vadim Rozenfeld
On Mon, 2011-10-10 at 08:53 +0200, Jan Kiszka wrote: > On 2011-10-09 20:52, Vadim Rozenfeld wrote: > > Enable some basic Hyper-V enlightenment functionalites, > > including relaxed timing, spinlock, and virtual APIC. > > This targets uq/master, correct? Then you should CC qemu-devel on the > next

Re: kernel BUG at include/linux/kvm_host.h:603!

2011-10-10 Thread Alexander Graf
Hi Jörg, On 07.10.2011, at 23:10, Jörg Sommer wrote: > Hi, > > I've got this backtrace: > > [130902.709711] [ cut here ] > [130902.709747] kernel BUG at include/linux/kvm_host.h:603! Ouch. This means that preemption is broken in KVM for PPC. To quickly get things worki

Re: [Xen-devel] [PATCH 00/10] [PATCH RFC V2] Paravirtualized ticketlocks

2011-10-10 Thread Ingo Molnar
* Jeremy Fitzhardinge wrote: > On 10/06/2011 10:40 AM, Jeremy Fitzhardinge wrote: > > However, it looks like locked xadd is also has better performance: on > > my Sandybridge laptop (2 cores, 4 threads), the add+mfence is 20% slower > > than locked xadd, so that pretty much settles it unless yo

Re: [PATCH v3 1/6] iommu/core: split mapping to page sizes as supported by the hardware

2011-10-10 Thread Ohad Ben-Cohen
On Sun, Oct 2, 2011 at 5:58 PM, Ohad Ben-Cohen wrote: > Ok, fair enough. I've revised the patches and attached the main one > below; please tell me if it looks ok, and then I'll resubmit the > entire patch set. Ping ? -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body o