[PATCH] KVM Test: Catch AttributeError and make screendump thread continue.

2011-06-28 Thread fyang
From: Feng Yang fy...@redhat.com screendump is start before vm creating. At most time, it is ok. But when setting start_vm to no, then create vm in tests script. This may could not work. screendump thread exit for AttributeError exception. Some of our unattended_install case fail for this

Re: [PATCH] tools/kvm/9p: Add encode/decode routines for protocol data

2011-06-28 Thread Aneesh Kumar K.V
On Fri, 24 Jun 2011 19:26:48 -0400, Sasha Levin levinsasha...@gmail.com wrote: On Fri, 2011-06-24 at 21:30 +0530, Aneesh Kumar K.V wrote: On Fri, 24 Jun 2011 09:47:18 -0400, Sasha Levin levinsasha...@gmail.com wrote: On Tue, 2011-06-21 at 15:50 +0530, Aneesh Kumar K.V wrote: +static

Re: [PATCH v2 7/8] KVM: x86 emulator: SSE support

2011-06-28 Thread Cyclonus J
On Tue, Mar 29, 2011 at 5:54 AM, Avi Kivity a...@redhat.com wrote: Add support for marking an instruction as SSE, switching registers used to the SSE register file. Avi, So this change will only support XMM register as its destination not memory, right? I am seeing the mmio size in qemu is

[PATCH -V4 2/2] tools/kvm/9p: return EOPNOTSUPP if the handler is not implemented

2011-06-28 Thread Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- tools/kvm/virtio/9p.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/kvm/virtio/9p.c b/tools/kvm/virtio/9p.c index 2727a85..69e534f 100644 --- a/tools/kvm/virtio/9p.c +++

[PATCH -V4 1/2] tools/kvm/9p: Add encode/decode routines for protocol data

2011-06-28 Thread Aneesh Kumar K.V
The protocol data is in little-endian format. Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- tools/kvm/Makefile|1 + tools/kvm/include/kvm/virtio-9p.h | 66 +- tools/kvm/virtio/9p-pdu.c | 242 +++ tools/kvm/virtio/9p.c

Re: [PATCH 12/13] pci-assign: Generic config space access management

2011-06-28 Thread Jan Kiszka
On 2011-06-28 00:48, Alex Williamson wrote: -case PCI_CAP_ID_VPD: -case PCI_CAP_ID_VNDR: -assigned_dev_pci_write(pci_dev, address, val, len); +switch (len) { +case 4: +direct_mask = +pci_get_long(assigned_dev-direct_config_write + address); +

Re: [PATCH 12/13] pci-assign: Generic config space access management

2011-06-28 Thread Avi Kivity
On 06/28/2011 01:48 AM, Alex Williamson wrote: +memset(dev-direct_config_read + PCI_COMMAND, 0xff, 12); This is more efficient, but maybe we should memset each field for grep-ability. Agree. Or even pci_assign_set_direct_config(dev, register, start_bit, nr_bits); -- error

Re: [PATCH 00/13] qemu-kvm: device assignment cleanups and upstream diff reductions

2011-06-28 Thread Avi Kivity
On 06/27/2011 09:19 PM, Jan Kiszka wrote: This series basically consists of two halves. The first one applies a few smaller cleanups to qemu-kvm to improve similarity with upstream. This includes the recently discussed removal of -enable-nesting. The second half starts with two device

Re: [PATCH 12/13] pci-assign: Generic config space access management

2011-06-28 Thread Michael S. Tsirkin
On Mon, Jun 27, 2011 at 08:19:55PM +0200, Jan Kiszka wrote: From: Jan Kiszka jan.kis...@siemens.com This drastically simplifies config space access management: Instead of coding various range checks and merging bits, set up two access control bitmaps. One defines, which bits can be directly

Re: [PATCH v2 7/8] KVM: x86 emulator: SSE support

2011-06-28 Thread Avi Kivity
On 06/28/2011 09:49 AM, Cyclonus J wrote: On Tue, Mar 29, 2011 at 5:54 AM, Avi Kivitya...@redhat.com wrote: Add support for marking an instruction as SSE, switching registers used to the SSE register file. Avi, So this change will only support XMM register as its destination not memory,

Re: [PATCH v2 05/11] KVM: Expose a version 1 architectural PMU to guests

2011-06-28 Thread Avi Kivity
Please don't top-post. On 06/28/2011 05:54 AM, lidong chen wrote: but i didn't find intel cpu support exclude_host attribute. and this method depend on the support of cpu. Look at the load IA32_PERF_GLOBAL_CTRL VM-entry and VM-exit controls. i find the implement of Xenoprof, which inject

Re: [PATCH 12/13] pci-assign: Generic config space access management

2011-06-28 Thread Jan Kiszka
On 2011-06-28 10:10, Michael S. Tsirkin wrote: On Mon, Jun 27, 2011 at 08:19:55PM +0200, Jan Kiszka wrote: From: Jan Kiszka jan.kis...@siemens.com This drastically simplifies config space access management: Instead of coding various range checks and merging bits, set up two access control

Re: [PATCH] qemu-kvm: Fix in-kernel PIC reset

2011-06-28 Thread Avi Kivity
On 06/27/2011 01:22 PM, Jan Kiszka wrote: Lacking sync of the user space state to the kernel after system reset left the PIC behind in an undefined state. This broke IRQ delivery in some scenarios, e.g. when resetting while in the BIOS. Applied, thanks. -- error compiling committee.c: too

Re: [PATCH 12/13] pci-assign: Generic config space access management

2011-06-28 Thread Jan Kiszka
On 2011-06-28 10:07, Avi Kivity wrote: On 06/28/2011 01:48 AM, Alex Williamson wrote: +memset(dev-direct_config_read + PCI_COMMAND, 0xff, 12); This is more efficient, but maybe we should memset each field for grep-ability. Agree. Or even pci_assign_set_direct_config(dev,

Re: [PATCH] qemu-kvm: Fix in-kernel PIT reset

2011-06-28 Thread Avi Kivity
On 06/27/2011 01:23 PM, Jan Kiszka wrote: Analogously to the PIC, we were lacking sync of the PIT user space state to the kernel after reset. Fix it pragmatically, the code will be reworked for upstream anyway. Applied, thanks. -- error compiling committee.c: too many arguments to function

Re: [PATCH 12/13] pci-assign: Generic config space access management

2011-06-28 Thread Avi Kivity
On 06/28/2011 11:19 AM, Jan Kiszka wrote: On 2011-06-28 10:07, Avi Kivity wrote: On 06/28/2011 01:48 AM, Alex Williamson wrote: +memset(dev-direct_config_read + PCI_COMMAND, 0xff, 12); This is more efficient, but maybe we should memset each field for grep-ability. Agree. Or even

Re: [PATCH 12/13] pci-assign: Generic config space access management

2011-06-28 Thread Michael S. Tsirkin
On Tue, Jun 28, 2011 at 10:18:20AM +0200, Jan Kiszka wrote: Is this an optimization? What harm does it do to virtualize always? Just replicating the old behavior, Oh, I absolutely agree with that. It's better to do more cleanups in separate patches, this one is huge so it's better if bisect

Re: [PATCH 12/13] pci-assign: Generic config space access management

2011-06-28 Thread Michael S. Tsirkin
On Mon, Jun 27, 2011 at 08:19:55PM +0200, Jan Kiszka wrote: -/* There can be multiple VNDR capabilities per device, we need to find the - * one that starts closet to the given address without going over. */ -static uint8_t find_vndr_start(PCIDevice *pci_dev, uint32_t address) +static uint32_t

Re: [PATCH 09/13] pci-assign: Drop libpci header dependency

2011-06-28 Thread Michael S. Tsirkin
On Mon, Jun 27, 2011 at 08:19:52PM +0200, Jan Kiszka wrote: From: Jan Kiszka jan.kis...@siemens.com All constants are now available through QEMU. Also drop the upstream diff of pci_regs.h, it cannot clash with libpci anymore. Signed-off-by: Jan Kiszka jan.kis...@siemens.com Yay. -- To

Re: [PATCH 00/13] qemu-kvm: device assignment cleanups and upstream diff reductions

2011-06-28 Thread Michael S. Tsirkin
On Tue, Jun 28, 2011 at 11:10:04AM +0300, Avi Kivity wrote: On 06/27/2011 09:19 PM, Jan Kiszka wrote: This series basically consists of two halves. The first one applies a few smaller cleanups to qemu-kvm to improve similarity with upstream. This includes the recently discussed removal of

Re: [PATCH 13/13] qemu-kvm: Resolve PCI upstream diffs

2011-06-28 Thread Michael S. Tsirkin
On Mon, Jun 27, 2011 at 08:19:56PM +0200, Jan Kiszka wrote: From: Jan Kiszka jan.kis...@siemens.com Device assignment no longer peeks into config_map, so we can drop all the related changes and sync the PCI core with upstream. Signed-off-by: Jan Kiszka jan.kis...@siemens.com That's great

Re: [PATCH 12/13] pci-assign: Generic config space access management

2011-06-28 Thread Avi Kivity
On 06/28/2011 11:51 AM, Michael S. Tsirkin wrote: On Mon, Jun 27, 2011 at 08:19:55PM +0200, Jan Kiszka wrote: -/* There can be multiple VNDR capabilities per device, we need to find the - * one that starts closet to the given address without going over. */ -static uint8_t

Re: [PATCH 13/13] qemu-kvm: Resolve PCI upstream diffs

2011-06-28 Thread Jan Kiszka
On 2011-06-28 10:58, Michael S. Tsirkin wrote: On Mon, Jun 27, 2011 at 08:19:56PM +0200, Jan Kiszka wrote: From: Jan Kiszka jan.kis...@siemens.com Device assignment no longer peeks into config_map, so we can drop all the related changes and sync the PCI core with upstream. Signed-off-by:

Re: [PATCH 12/13] pci-assign: Generic config space access management

2011-06-28 Thread Jan Kiszka
On 2011-06-28 10:30, Michael S. Tsirkin wrote: On Tue, Jun 28, 2011 at 10:18:20AM +0200, Jan Kiszka wrote: Is this an optimization? What harm does it do to virtualize always? Just replicating the old behavior, Oh, I absolutely agree with that. It's better to do more cleanups in separate

Re: [PATCH 13/13] qemu-kvm: Resolve PCI upstream diffs

2011-06-28 Thread Michael S. Tsirkin
On Tue, Jun 28, 2011 at 11:12:54AM +0200, Jan Kiszka wrote: On 2011-06-28 10:58, Michael S. Tsirkin wrote: On Mon, Jun 27, 2011 at 08:19:56PM +0200, Jan Kiszka wrote: From: Jan Kiszka jan.kis...@siemens.com Device assignment no longer peeks into config_map, so we can drop all the

[PATCH 1/3] KVM-Test: kickstart script: Add pre-installation script for dumping anaconda log

2011-06-28 Thread Qingtang Zhou
Anaconda log will help us to analyse failure of installation. Signed-off-by: Qingtang Zhou qz...@redhat.com --- client/tests/kvm/unattended/Fedora-10.ks | 35 ++ client/tests/kvm/unattended/Fedora-11.ks | 35 ++

[PATCH 3/3] KVM Test: Add get anaconda log config in config file

2011-06-28 Thread Qingtang Zhou
Signed-off-by: Qingtang Zhou qz...@redhat.com --- client/tests/kvm/tests_base.cfg.sample |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample index 4db011d..0fefa3b 100644 ---

[PATCH 2/3] KVM-Test: unattended_install.py: Get anaconda log and save it to log file

2011-06-28 Thread Qingtang Zhou
This patch will save guest's anaconda log to 'anaconda.log' in debug directory. Signed-off-by: Qingtang Zhou qz...@redhat.com --- client/tests/kvm/tests/unattended_install.py | 31 ++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git

Re: [RFC v2 01/20] Hierarchical memory region API

2011-06-28 Thread Michael S. Tsirkin
On Mon, Jun 27, 2011 at 04:21:48PM +0300, Avi Kivity wrote: ... +static bool memory_region_access_valid(MemoryRegion *mr, + target_phys_addr_t addr, + unsigned size) +{ +if (!mr-ops-valid.unaligned (addr (size

Re: [RFC v2 01/20] Hierarchical memory region API

2011-06-28 Thread Jan Kiszka
On 2011-06-28 12:03, Michael S. Tsirkin wrote: +struct MemoryRegion { +/* All fields are private - violators will be prosecuted */ +const MemoryRegionOps *ops; +MemoryRegion *parent; +uint64_t size; +target_phys_addr_t addr; +target_phys_addr_t offset; +

Re: [PATCH 03/13] qemu-kvm: Drop -enable-nesting command line switch

2011-06-28 Thread Roedel, Joerg
On Mon, Jun 27, 2011 at 02:19:46PM -0400, Jan Kiszka wrote: From: Jan Kiszka jan.kis...@siemens.com Link it is already handling in upstream, this feature can be controlled via -cpu ...+/-svm. CC: Joerg Roedel joerg.roe...@amd.com Signed-off-by: Jan Kiszka jan.kis...@siemens.com ---

Re: [PATCH 03/13] qemu-kvm: Drop -enable-nesting command line switch

2011-06-28 Thread Jan Kiszka
On 2011-06-28 12:48, Roedel, Joerg wrote: On Mon, Jun 27, 2011 at 02:19:46PM -0400, Jan Kiszka wrote: From: Jan Kiszka jan.kis...@siemens.com Link it is already handling in upstream, this feature can be controlled Ugh, I must have been drunken. Like it is already handled in upstream, ...

Re: [PATCH 04/13] qemu-kvm: Remove eventfd compat header

2011-06-28 Thread Michael S. Tsirkin
On Mon, Jun 27, 2011 at 08:19:47PM +0200, Jan Kiszka wrote: From: Jan Kiszka jan.kis...@siemens.com No longer used. Signed-off-by: Jan Kiszka jan.kis...@siemens.com I think it's actually handy to build on old systems which have a recent enough kernel but not the header. Does it hurt much

Re: [PATCH 04/13] qemu-kvm: Remove eventfd compat header

2011-06-28 Thread Jan Kiszka
On 2011-06-28 13:09, Michael S. Tsirkin wrote: On Mon, Jun 27, 2011 at 08:19:47PM +0200, Jan Kiszka wrote: From: Jan Kiszka jan.kis...@siemens.com No longer used. Signed-off-by: Jan Kiszka jan.kis...@siemens.com I think it's actually handy to build on old systems which have a recent

Re: [PATCH 03/13] qemu-kvm: Drop -enable-nesting command line switch

2011-06-28 Thread Avi Kivity
On 06/28/2011 01:52 PM, Jan Kiszka wrote: On 2011-06-28 12:48, Roedel, Joerg wrote: On Mon, Jun 27, 2011 at 02:19:46PM -0400, Jan Kiszka wrote: From: Jan Kiszkajan.kis...@siemens.com Link it is already handling in upstream, this feature can be controlled Ugh, I must have been drunken.

Re: [RFC v2 01/20] Hierarchical memory region API

2011-06-28 Thread Avi Kivity
On 06/28/2011 01:03 PM, Michael S. Tsirkin wrote: On Mon, Jun 27, 2011 at 04:21:48PM +0300, Avi Kivity wrote: ... +static bool memory_region_access_valid(MemoryRegion *mr, + target_phys_addr_t addr, + unsigned

Re: [RFC v2 01/20] Hierarchical memory region API

2011-06-28 Thread Avi Kivity
On 06/28/2011 01:28 PM, Jan Kiszka wrote: On 2011-06-28 12:03, Michael S. Tsirkin wrote: +struct MemoryRegion { +/* All fields are private - violators will be prosecuted */ +const MemoryRegionOps *ops; +MemoryRegion *parent; +uint64_t size; +target_phys_addr_t

Re: [PATCH 04/13] qemu-kvm: Remove eventfd compat header

2011-06-28 Thread Michael S. Tsirkin
On Tue, Jun 28, 2011 at 01:11:20PM +0200, Jan Kiszka wrote: On 2011-06-28 13:09, Michael S. Tsirkin wrote: On Mon, Jun 27, 2011 at 08:19:47PM +0200, Jan Kiszka wrote: From: Jan Kiszka jan.kis...@siemens.com No longer used. Signed-off-by: Jan Kiszka jan.kis...@siemens.com I think

Re: [RFC v2 01/20] Hierarchical memory region API

2011-06-28 Thread Jan Kiszka
On 2011-06-28 13:53, Avi Kivity wrote: On 06/28/2011 01:28 PM, Jan Kiszka wrote: On 2011-06-28 12:03, Michael S. Tsirkin wrote: +struct MemoryRegion { +/* All fields are private - violators will be prosecuted */ +const MemoryRegionOps *ops; +MemoryRegion *parent; +

Re: [RFC v2 01/20] Hierarchical memory region API

2011-06-28 Thread Avi Kivity
On 06/28/2011 03:07 PM, Jan Kiszka wrote: The point is that different buses have different widths. target_phys_addr_t matches just one bus in the system. It needs to be the maximum size of all buses present to be useful. Then we need a type for that. Or we need to demand that

Re: [PATCH 04/13] qemu-kvm: Remove eventfd compat header

2011-06-28 Thread Jan Kiszka
On 2011-06-28 14:07, Michael S. Tsirkin wrote: On Tue, Jun 28, 2011 at 01:11:20PM +0200, Jan Kiszka wrote: On 2011-06-28 13:09, Michael S. Tsirkin wrote: On Mon, Jun 27, 2011 at 08:19:47PM +0200, Jan Kiszka wrote: From: Jan Kiszka jan.kis...@siemens.com No longer used. Signed-off-by: Jan

Re: [PATCH 04/13] qemu-kvm: Remove eventfd compat header

2011-06-28 Thread Michael S. Tsirkin
On Tue, Jun 28, 2011 at 02:11:23PM +0200, Jan Kiszka wrote: On 2011-06-28 14:07, Michael S. Tsirkin wrote: On Tue, Jun 28, 2011 at 01:11:20PM +0200, Jan Kiszka wrote: On 2011-06-28 13:09, Michael S. Tsirkin wrote: On Mon, Jun 27, 2011 at 08:19:47PM +0200, Jan Kiszka wrote: From: Jan

Re: [PATCH v2 3/7] KVM-HV: KVM Steal time implementation

2011-06-28 Thread Glauber Costa
On 06/20/2011 05:56 PM, Marcelo Tosatti wrote: On Sun, Jun 19, 2011 at 12:57:53PM +0300, Avi Kivity wrote: On 06/17/2011 01:20 AM, Glauber Costa wrote: To implement steal time, we need the hypervisor to pass the guest information about how much time was spent running other processes outside

Re: [PATCH 04/13] qemu-kvm: Remove eventfd compat header

2011-06-28 Thread Jan Kiszka
On 2011-06-28 14:17, Michael S. Tsirkin wrote: On Tue, Jun 28, 2011 at 02:11:23PM +0200, Jan Kiszka wrote: On 2011-06-28 14:07, Michael S. Tsirkin wrote: On Tue, Jun 28, 2011 at 01:11:20PM +0200, Jan Kiszka wrote: On 2011-06-28 13:09, Michael S. Tsirkin wrote: On Mon, Jun 27, 2011 at

Re: [RFC v2 01/20] Hierarchical memory region API

2011-06-28 Thread Jan Kiszka
On 2011-06-28 14:09, Avi Kivity wrote: On 06/28/2011 03:07 PM, Jan Kiszka wrote: The point is that different buses have different widths. target_phys_addr_t matches just one bus in the system. It needs to be the maximum size of all buses present to be useful. Then we need a type for

Re: [RFC v2 01/20] Hierarchical memory region API

2011-06-28 Thread Avi Kivity
On 06/28/2011 03:46 PM, Jan Kiszka wrote: Do we want to support a 32-bit variant of pci? It certainly existed at some point. As long as making everything 64 bit in the implementation of the device models is not guest visible, I don't think that should be a problem. How would it become

Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API

2011-06-28 Thread Peter Maydell
On 28 June 2011 13:09, Avi Kivity a...@redhat.com wrote: Okay, let's make t_p_a_t max(bus size in system). If you want a type for that, can't you give it a sensible (ie different) name? target_phys_addr_t is pretty clearly the type of a physical address for this target and having it actually be

Re: [Qemu-devel] [RFC v2 01/20] Hierarchical memory region API

2011-06-28 Thread Avi Kivity
On 06/28/2011 04:25 PM, Peter Maydell wrote: On 28 June 2011 13:09, Avi Kivitya...@redhat.com wrote: Okay, let's make t_p_a_t max(bus size in system). If you want a type for that, can't you give it a sensible (ie different) name? target_phys_addr_t is pretty clearly the type of a physical

Re: KVM call agenda for June 28

2011-06-28 Thread Stefan Hajnoczi
On Mon, Jun 27, 2011 at 3:32 PM, Juan Quintela quint...@redhat.com wrote: Please send in any agenda items you are interested in covering. Live block copy and image streaming: * The differences between Marcelo and Kevin's approaches * Which approach to choose and who can help implement it -- To

Re: [Qemu-devel] KVM call agenda for June 28

2011-06-28 Thread Anthony Liguori
On 06/27/2011 09:32 AM, Juan Quintela wrote: Hi Please send in any agenda items you are interested in covering. FYI, I'm in an all-day meeting so I can't attend. Regards, Anthony Liguori Later, Juan. -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a

Re: [Qemu-devel] KVM call agenda for June 28

2011-06-28 Thread Avi Kivity
On 06/28/2011 04:43 PM, Anthony Liguori wrote: FYI, I'm in an all-day meeting so I can't attend. Did you do something really bad? -- 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

Re: RFT: virtio_net: limit xmit polling

2011-06-28 Thread Tom Lendacky
On Sunday, June 19, 2011 05:27:00 AM Michael S. Tsirkin wrote: OK, different people seem to test different trees. In the hope to get everyone on the same page, I created several variants of this patch so they can be compared. Whoever's interested, please check out the following, and tell me

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

2011-06-28 Thread Joerg Roedel
On Fri, Jun 17, 2011 at 03:37:29PM +0200, Joerg Roedel wrote: this is the second version of the patch-set to support the AMD guest-/host only bits in the performance counter MSRs. Due to lack of time I havn't looked into emulating support for this feature on Intel or other architectures, but

Re: [PATCH V7 2/4 net-next] skbuff: Add userspace zero-copy buffers in skb

2011-06-28 Thread Shirley Ma
On Mon, 2011-06-27 at 15:54 -0700, David Miller wrote: From: Shirley Ma mashi...@us.ibm.com Date: Mon, 27 Jun 2011 08:45:10 -0700 To support skb zero-copy, a pointer is needed to add to skb share info. Do you agree with this approach? If not, do you have any other suggestions? I

Re: [PATCH V7 2/4 net-next] skbuff: Add userspace zero-copy buffers in skb

2011-06-28 Thread Rick Jones
On 06/28/2011 09:51 AM, Shirley Ma wrote: On Mon, 2011-06-27 at 15:54 -0700, David Miller wrote: From: Shirley Mamashi...@us.ibm.com Date: Mon, 27 Jun 2011 08:45:10 -0700 To support skb zero-copy, a pointer is needed to add to skb share info. Do you agree with this approach? If not, do you

[PATCH] KVM test: tests_base.cfg. sample: Fix test dependencies

2011-06-28 Thread Lucas Meneghel Rodrigues
Some of the tests that do need an installed guest don't have this dependency stated on their definitions. Moreover, with the introduction of image_copy to the upstream tree, image_copy is yet another valid way of providing a functional guest image. So, fix all test dependencies and update them.

[PATCH] KVM test: Increase default guest memory size to 1024 MB

2011-06-28 Thread Lucas Meneghel Rodrigues
With the introduction of Fedora 15, anaconda memory requirements grew, in a way that 512 MB is not enough to install guests. With this and the fact that Win7/Vista minimum memory requirements is 1024 MB, let's change the default guest memory size to 1024. Signed-off-by: Lucas Meneghel Rodrigues

kvm monitor socket - connection refused

2011-06-28 Thread Iordan Iordanov
Hello, We are using KVM on Debian Squeeze (QEMU 0.12.5). Yesterday, I started a virtual machine and let it run overnight. I don't recall doing anything out of the ordinary to it. This morning, I wanted to issue some commands to it through the control socket, but socat is unable to connect

Re: KVM call agenda for June 28

2011-06-28 Thread Marcelo Tosatti
On Tue, Jun 28, 2011 at 02:38:15PM +0100, Stefan Hajnoczi wrote: On Mon, Jun 27, 2011 at 3:32 PM, Juan Quintela quint...@redhat.com wrote: Please send in any agenda items you are interested in covering. Live block copy and image streaming: * The differences between Marcelo and Kevin's

Re: [PATCH v2 3/7] KVM-HV: KVM Steal time implementation

2011-06-28 Thread Marcelo Tosatti
On Tue, Jun 28, 2011 at 09:30:29AM -0300, Glauber Costa wrote: On 06/20/2011 05:56 PM, Marcelo Tosatti wrote: On Sun, Jun 19, 2011 at 12:57:53PM +0300, Avi Kivity wrote: On 06/17/2011 01:20 AM, Glauber Costa wrote: To implement steal time, we need the hypervisor to pass the guest information

Re: SR-IOV and KVM?

2011-06-28 Thread Troels Arvin
David Ahern wrote: Does your setup allow for SR-IOV without having to turn off ACS? (ACS is a security feature.) I recall having to twiddle some BIOS settings I believe that if you turn off ACS, it's through a kernel module option. -- Regards, Troels Arvin tro...@arvin.dk

[PATCH] KVM test: Adding Fedora15 to the list of guests

2011-06-28 Thread Lucas Meneghel Rodrigues
Update tests_base.cfg, tests.cfg and get_started.py. Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com --- client/tests/kvm/get_started.py |6 ++-- client/tests/kvm/tests.cfg.sample| 14 +- client/tests/kvm/tests_base.cfg.sample | 25 ++

RE: [PATCH] drivers/staging/zcache: support multiple clients, prep for RAMster and KVM

2011-06-28 Thread Dan Magenheimer
From: Konrad Rzeszutek Wilk Hi Konrad -- Thanks for the review! Subject: Re: [PATCH] drivers/staging/zcache: support multiple clients, prep for RAMster and KVM +int tmem_get(struct tmem_pool *pool, struct tmem_oid *oidp, uint32_t index, + char *data, size_t *size, bool raw,

Re: kvm monitor socket - connection refused

2011-06-28 Thread Michael Tokarev
28.06.2011 23:20, Iordan Iordanov wrote: Hello, We are using KVM on Debian Squeeze (QEMU 0.12.5). Yesterday, I started a virtual machine and let it run overnight. I don't recall doing anything out of the ordinary to it. This morning, I wanted to issue some commands to it through the

Re: [PATCH V7 2/4 net-next] skbuff: Add userspace zero-copy buffers in skb

2011-06-28 Thread David Miller
From: Shirley Ma mashi...@us.ibm.com Date: Tue, 28 Jun 2011 09:51:32 -0700 On Mon, 2011-06-27 at 15:54 -0700, David Miller wrote: From: Shirley Ma mashi...@us.ibm.com Date: Mon, 27 Jun 2011 08:45:10 -0700 To support skb zero-copy, a pointer is needed to add to skb share info. Do you

Re: [PATCH V7 2/4 net-next] skbuff: Add userspace zero-copy buffers in skb

2011-06-28 Thread Shirley Ma
I have submitted this patchset from Version 1 to Version 7 already in the past few months. Here is the link to the patchset: http://lists.openwall.net/netdev/2011/05/28/ I am working on V8 now. Thanks Shirley On Tue, 2011-06-28 at 16:35 -0700, David Miller wrote: From: Shirley Ma

Re: [PATCH 0/2] Introduce iommu_commit() function

2011-06-28 Thread KyongHo Cho
Hi. On Fri, Jun 24, 2011 at 12:31 AM, Joerg Roedel joerg.roe...@amd.com wrote: It needs to be called whenever a some code changed a domain (either by attaching/detaching devices or by mapping/unmapping pages in the domain). Do you mean we can invalidate IOTLB with this iommu_commit()? We need

Re: KVM call agenda for June 28

2011-06-28 Thread Stefan Hajnoczi
On Tue, Jun 28, 2011 at 8:41 PM, Marcelo Tosatti mtosa...@redhat.com wrote: On Tue, Jun 28, 2011 at 02:38:15PM +0100, Stefan Hajnoczi wrote: On Mon, Jun 27, 2011 at 3:32 PM, Juan Quintela quint...@redhat.com wrote: Please send in any agenda items you are interested in covering. Live block

Re: [PATCH 0/2] Introduce iommu_commit() function

2011-06-28 Thread Joerg Roedel
On Wed, Jun 29, 2011 at 02:02:02PM +0900, KyongHo Cho wrote: Hi. On Fri, Jun 24, 2011 at 12:31 AM, Joerg Roedel joerg.roe...@amd.com wrote: It needs to be called whenever a some code changed a domain (either by attaching/detaching devices or by mapping/unmapping pages in the domain).