Re: [libvirt] Re: BUG REPORT: -net tap, fd=X does not work correctly in kvm-86

2009-05-24 Thread Daniel P. Berrange
On Fri, May 22, 2009 at 09:12:55PM -0500, Anthony Liguori wrote: > Josh Wilsdon wrote: > >We are doing work with libvirt 0.6.3 through which we have started > >virtual machines. Using the same "create" command with the same > >storage, the same everything else this configuration works with both >

Re: [libvirt] Re: [CentOS-devel] Latest kvm packages for CentOS 5.3

2009-06-11 Thread Daniel P. Berrange
On Wed, Jun 10, 2009 at 04:50:25PM +0200, Dag Wieers wrote: > On Wed, 10 Jun 2009, Federico Simoncelli wrote: > > >I've been working quite extensively with kvm on CentOS 5.3 lately. > >If you are interested in the latest rpm of kvm-kmod-2.6.30-rc8, > >qemu-kvm-0.10.5 and libvirt-0.6.4 you can temp

Re: Configuration vs. compat hints [was Re: [Qemu-devel] [PATCHv3 03/13] qemu: add routines to manage PCI capabilities]

2009-06-15 Thread Daniel P. Berrange
On Mon, Jun 15, 2009 at 10:03:22AM -0500, Anthony Liguori wrote: > Michael S. Tsirkin wrote: > >>I'm not at all arguing against pci_addr. I'm arguing about how libvirt > >>should use it with respect to the "genesis" use-case where libvirt has > >>no specific reason to choose one PCI slot over

Re: [patch] qemu-kvm introduce -maxcpus argument

2009-06-19 Thread Daniel P. Berrange
On Fri, Jun 19, 2009 at 03:59:57PM +0200, Jes Sorensen wrote: > Hi, > > This one introduces a -maxcpus setting, allowing the user to specify > the maximum number of vCPUs the system can have, as discussed with Gleb > earlier in the week. What is the maximum value for the 'maxcpus' setting for KVM

Re: [Qemu-devel] virtio-serial: A guest <-> host interface for simple communication

2009-06-23 Thread Daniel P. Berrange
On Tue, Jun 23, 2009 at 01:55:52PM +0100, Paul Brook wrote: > > Here are two patches. One implements a virtio-serial device in qemu > > and the other is the driver for a guest kernel. > > So I'll ask again. Why is this separate from virtio-console? In the guest I wouldn't want virtio-serial devic

Re: [Qemu-devel] [PATCH] Warn if a qcow (not qcow2) file is opened

2009-06-30 Thread Daniel P. Berrange
On Tue, Jun 30, 2009 at 03:21:24PM +0100, Paul Brook wrote: > > >>> The qcow block driver format is no longer maintained and likely > > >>> contains > > >>> serious data corruptors. Urge users to stay away for it, and advertise > > >>> the new and improved replacement. > > > > > > I'm not sure how

Re: Dose KVM support setting scheduler parameters for a domain

2009-07-07 Thread Daniel P. Berrange
On Tue, Jul 07, 2009 at 11:12:44PM +0800, Zhang Qian wrote: > Hi, > > I'd like to know if virDomainSetSchedulerParameters() works for KVM > domain, I want to set CPU weight for a KVM domain, is it possible? > Thanks a lot! The API you're asking about is not actually a KVM one, rather a libvirt AP

Re: [PATCH 0/2] Introduce panic hypercall

2011-06-20 Thread Daniel P. Berrange
On Mon, Jun 20, 2011 at 06:31:23PM +0300, Avi Kivity wrote: > On 06/20/2011 04:38 PM, Daniel Gollub wrote: > >Introduce panic hypercall to enable the crashing guest to notify the > >host. This enables the host to run some actions as soon a guest > >crashed (kernel panic). > > > >This patch series i

[PATCH master+STABLE-0.15] Fix default accelerator when configured with --disable-kvm

2011-08-04 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The default accelerator is hardcoded to 'kvm'. This is a fine default for qemu-kvm normally, but if the user built with ./configure --disable-kvm, then the resulting binaries will not work by default * vl.c: Default to 'tcg' unless C

[PATCH master+STABLE-0.15] Fix default accelerator when configured with --disable-kvm

2011-08-05 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The default accelerator is hardcoded to 'kvm'. This is a fine default for qemu-kvm normally, but if the user built with ./configure --disable-kvm, then the resulting binaries will not work by default * vl.c: Default to 'tcg' unless CONFIG

Re: DMI BIOS String

2011-08-22 Thread Daniel P. Berrange
On Mon, Aug 22, 2011 at 03:52:19PM +1200, Derek wrote: > Hi Folks, > > I could not track down any solid info on modifying the DMI BIOS string. > > For example, in VirtualBox you can use 'vboxmanage setsextradata' to > set the BIOS product and vendor string per VM. > > Any ideas if this is possib

Re: First shot at adding IPMI to qemu

2012-07-09 Thread Daniel P. Berrange
On Mon, Jul 09, 2012 at 08:23:11AM -0500, Corey Minyard wrote: > I haven't heard anything about these patches. Any comments, good or > bad? Has anyone tried these? You really ought to post this to the qemu-devel mailing list, since that's where the majority of QEMU developers hang out. This KVM

Re: [PATCH v8] kvm: notify host when the guest is panicked

2012-08-14 Thread Daniel P. Berrange
On Mon, Aug 13, 2012 at 03:21:32PM -0300, Marcelo Tosatti wrote: > On Wed, Aug 08, 2012 at 10:43:01AM +0800, Wen Congyang wrote: > > We can know the guest is panicked when the guest runs on xen. > > But we do not have such feature on kvm. > > > > Another purpose of this feature is: management app(

Re: [PATCH 1/3] Avoid the use of deprecated gnutls gnutls_*_set_priority functions.

2011-08-25 Thread Daniel P. Berrange
; > "NORMAL" : "NORMAL:+ANON-DH", NULL) < 0) { > >             gnutls_deinit(vs->tls.session); > >             vs->tls.session = NULL; > >             vnc_client_error(vs); > > -- > > 1.7.6 > > Daniel, > This patch

Re: How many threads should a kvm vm be starting?

2011-09-28 Thread Daniel P. Berrange
On Tue, Sep 27, 2011 at 04:04:41PM -0600, Thomas Fjellstrom wrote: > On September 27, 2011, Avi Kivity wrote: > > On 09/27/2011 03:29 AM, Thomas Fjellstrom wrote: > > > I just noticed something interesting, a virtual machine on one of my > > > servers seems to have 69 threads (including the main th

Re: [libvirt] Qemu/KVM is 3x slower under libvirt

2011-09-28 Thread Daniel P. Berrange
On Tue, Sep 27, 2011 at 08:10:21PM +0200, Reeted wrote: > I repost this, this time by also including the libvirt mailing list. > > Info on my libvirt: it's the version in Ubuntu 11.04 Natty which is > 0.8.8-1ubuntu6.5 . I didn't recompile this one, while Kernel and > qemu-kvm are vanilla and compi

Re: [libvirt] Qemu/KVM is 3x slower under libvirt

2011-09-28 Thread Daniel P. Berrange
On Wed, Sep 28, 2011 at 11:19:43AM +0200, Reeted wrote: > On 09/28/11 09:51, Daniel P. Berrange wrote: > >>This is my bash commandline: > >> > >>/opt/qemu-kvm-0.14.1/bin/qemu-system-x86_64 -M pc-0.14 -enable-kvm > >>-m 2002 -smp 2,sockets=2,cores=1,threads=1

Re: [libvirt] Qemu/KVM is 3x slower under libvirt (due to vhost=on)

2011-09-28 Thread Daniel P. Berrange
On Wed, Sep 28, 2011 at 11:49:01AM +0200, Reeted wrote: > On 09/28/11 11:28, Daniel P. Berrange wrote: > >On Wed, Sep 28, 2011 at 11:19:43AM +0200, Reeted wrote: > >>On 09/28/11 09:51, Daniel P. Berrange wrote: > >>>>This is my bash commandline: > >>>

Re: [libvirt] Qemu/KVM is 3x slower under libvirt (due to vhost=on)

2011-09-28 Thread Daniel P. Berrange
On Wed, Sep 28, 2011 at 12:19:09PM +0200, Reeted wrote: > On 09/28/11 11:53, Daniel P. Berrange wrote: > >On Wed, Sep 28, 2011 at 11:49:01AM +0200, Reeted wrote: > >>YES! > >>It's the vhost. With vhost=on it takes about 12 seconds more time to boot. > >> &

Re: [PATCH 05/11] virt: Introducing libvirt VM class

2011-10-12 Thread Daniel P. Berrange
On Tue, Oct 11, 2011 at 06:07:11PM -0300, Lucas Meneghel Rodrigues wrote: > This is a first attempt at providing a libvirt VM class, > in order to implement the needed methods for virt testing. > With this class, we will be able to implement a libvirt > test, that behaves similarly to the KVM test.

Re: [Qemu-devel] KVM call agenda for October 25

2011-10-26 Thread Daniel P. Berrange
On Wed, Oct 26, 2011 at 10:48:12AM +0200, Markus Armbruster wrote: > Kevin Wolf writes: > > > Am 25.10.2011 16:06, schrieb Anthony Liguori: > >> On 10/25/2011 08:56 AM, Kevin Wolf wrote: > >>> Am 25.10.2011 15:05, schrieb Anthony Liguori: > I'd be much more open to changing the default mode

Re: [Qemu-devel] KVM call agenda for October 25

2011-10-26 Thread Daniel P. Berrange
On Wed, Oct 26, 2011 at 01:23:05PM +0200, Kevin Wolf wrote: > Am 26.10.2011 11:57, schrieb Daniel P. Berrange: > > On Wed, Oct 26, 2011 at 10:48:12AM +0200, Markus Armbruster wrote: > >> Kevin Wolf writes: > >> > >>> Am 25.10.2011 16:06, schrieb Anthony

Re: [Qemu-devel] qemu and qemu.git -> Migration + disk stress introduces qcow2 corruptions

2011-11-10 Thread Daniel P. Berrange
On Thu, Nov 10, 2011 at 12:27:30PM -0600, Anthony Liguori wrote: > What does libvirt actually do in the monitor prior to migration > completing on the destination? The least invasive way of doing > delayed open of block devices is probably to make -incoming create a > monitor and run a main loop b

Re: [Qemu-devel] qemu and qemu.git -> Migration + disk stress introduces qcow2 corruptions

2011-11-10 Thread Daniel P. Berrange
On Thu, Nov 10, 2011 at 01:11:42PM -0600, Anthony Liguori wrote: > On 11/10/2011 12:42 PM, Daniel P. Berrange wrote: > >On Thu, Nov 10, 2011 at 12:27:30PM -0600, Anthony Liguori wrote: > >>What does libvirt actually do in the monitor prior to migration > >>completing on

Re: [Qemu-devel] qemu and qemu.git -> Migration + disk stress introduces qcow2 corruptions

2011-11-14 Thread Daniel P. Berrange
On Sat, Nov 12, 2011 at 12:25:34PM +0200, Avi Kivity wrote: > On 11/11/2011 12:15 PM, Kevin Wolf wrote: > > Am 10.11.2011 22:30, schrieb Anthony Liguori: > > > Live migration with qcow2 or any other image format is just not going to > > > work > > > right now even with proper clustered storage.

Re: [Qemu-devel] qemu and qemu.git -> Migration + disk stress introduces qcow2 corruptions

2011-11-14 Thread Daniel P. Berrange
On Mon, Nov 14, 2011 at 12:24:22PM +0200, Michael S. Tsirkin wrote: > On Mon, Nov 14, 2011 at 10:16:10AM +0000, Daniel P. Berrange wrote: > > On Sat, Nov 12, 2011 at 12:25:34PM +0200, Avi Kivity wrote: > > > On 11/11/2011 12:15 PM, Kevin Wolf wrote: > > > > Am 10.

Re: [Qemu-devel] qemu and qemu.git -> Migration + disk stress introduces qcow2 corruptions

2011-11-14 Thread Daniel P. Berrange
On Mon, Nov 14, 2011 at 12:21:53PM +0100, Kevin Wolf wrote: > Am 14.11.2011 12:08, schrieb Daniel P. Berrange: > > On Mon, Nov 14, 2011 at 12:24:22PM +0200, Michael S. Tsirkin wrote: > >> On Mon, Nov 14, 2011 at 10:16:10AM +, Daniel P. Berrange wrote: > >>> On S

Re: [Qemu-devel] qemu and qemu.git -> Migration + disk stress introduces qcow2 corruptions

2011-11-14 Thread Daniel P. Berrange
On Mon, Nov 14, 2011 at 01:34:15PM +0200, Michael S. Tsirkin wrote: > On Mon, Nov 14, 2011 at 11:29:18AM +0000, Daniel P. Berrange wrote: > > On Mon, Nov 14, 2011 at 12:21:53PM +0100, Kevin Wolf wrote: > > > Am 14.11.2011 12:08, schrieb Daniel P. Berrange: > > > >

Re: [Qemu-devel] qemu and qemu.git -> Migration + disk stress introduces qcow2 corruptions

2011-11-14 Thread Daniel P. Berrange
On Mon, Nov 14, 2011 at 01:51:40PM +0200, Michael S. Tsirkin wrote: > On Mon, Nov 14, 2011 at 11:37:27AM +0000, Daniel P. Berrange wrote: > > On Mon, Nov 14, 2011 at 01:34:15PM +0200, Michael S. Tsirkin wrote: > > > On Mon, Nov 14, 2011 at 11:29:18AM +, Daniel P. Berrange wro

Re: [Qemu-devel] qemu and qemu.git -> Migration + disk stress introduces qcow2 corruptions

2011-11-14 Thread Daniel P. Berrange
On Mon, Nov 14, 2011 at 01:56:36PM +0200, Michael S. Tsirkin wrote: > On Mon, Nov 14, 2011 at 11:37:27AM +0000, Daniel P. Berrange wrote: > > On Mon, Nov 14, 2011 at 01:34:15PM +0200, Michael S. Tsirkin wrote: > > > On Mon, Nov 14, 2011 at 11:29:18AM +, Daniel P. Berrange wro

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 10:53:30AM -0600, Anthony Liguori wrote: > On 01/19/2011 03:48 AM, Gerd Hoffmann wrote: > >On 01/18/11 18:09, Anthony Liguori wrote: > >>On 01/18/2011 10:56 AM, Jan Kiszka wrote: > >>> > The device model topology is 100% a hidden architectural detail. > >>>This is true f

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 10:54:10AM -0600, Anthony Liguori wrote: > On 01/19/2011 07:11 AM, Markus Armbruster wrote: > >Gerd Hoffmann writes: > > > >>On 01/18/11 18:09, Anthony Liguori wrote: > >>>On 01/18/2011 10:56 AM, Jan Kiszka wrote: > >The device model topology is 100% a hidden architectu

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 10:53:30AM -0600, Anthony Liguori wrote: > On 01/19/2011 03:48 AM, Gerd Hoffmann wrote: > >On 01/18/11 18:09, Anthony Liguori wrote: > >>On 01/18/2011 10:56 AM, Jan Kiszka wrote: > >>> > The device model topology is 100% a hidden architectural detail. > >>>This is true f

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 11:51:58AM -0600, Anthony Liguori wrote: > On 01/19/2011 11:01 AM, Daniel P. Berrange wrote: > > > >The reason we specify 'bus' is that we wanted to be flexible wrt > >upgrades of libvirt, without needing restarts of QEMU instances > >

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-19 Thread Daniel P. Berrange
On Wed, Jan 19, 2011 at 11:42:18AM -0600, Anthony Liguori wrote: > On 01/19/2011 11:35 AM, Daniel P. Berrange wrote: > >On Wed, Jan 19, 2011 at 10:53:30AM -0600, Anthony Liguori wrote: > >>On 01/19/2011 03:48 AM, Gerd Hoffmann wrote: > >>>On 01/18/11 18:09, Anthony

Re: [Qemu-devel] [PATCH 28/35] kvm: x86: Introduce kvmclock device to save/restore its state

2011-01-20 Thread Daniel P. Berrange
On Thu, Jan 20, 2011 at 09:44:05AM +0100, Gerd Hoffmann wrote: > Hi, > > >For (2), you cannot use bus=X,addr=Y because it makes assumptions about > >the PCI topology which may change in newer -M pc's. > > Why should the PCI topology for 'pc' ever change? > > We'll probably get q35 support some

Re: PCI Passthrough, error: The driver 'pci-stub' is occupying your device 0000:08:06.2

2011-02-07 Thread Daniel P. Berrange
On Sat, Feb 05, 2011 at 04:34:01PM +, James Neave wrote: > Hi, > > I'm trying to pass a NOVA-T-500 TV Tuner card through to a gust VM. > I'm getting the error "The driver 'pci-stub' is occupying your device > :08:06.2" This is a rather misleading error message. It is *expected* that pci-s

Re: [Qemu-devel] [PATCH 02/18] Introduce read() to FdMigrationState.

2011-02-10 Thread Daniel P. Berrange
On Thu, Feb 10, 2011 at 10:54:01AM +0100, Anthony Liguori wrote: > On 02/10/2011 10:30 AM, Yoshiaki Tamura wrote: > >Currently FdMigrationState doesn't support read(), and this patch > >introduces it to get response from the other side. > > > >Signed-off-by: Yoshiaki Tamura > > Migration is unidir

Re: [Qemu-devel] [PATCH 02/18] Introduce read() to FdMigrationState.

2011-02-10 Thread Daniel P. Berrange
On Thu, Feb 10, 2011 at 07:23:33PM +0900, Yoshiaki Tamura wrote: > 2011/2/10 Daniel P. Berrange : > > On Thu, Feb 10, 2011 at 10:54:01AM +0100, Anthony Liguori wrote: > >> On 02/10/2011 10:30 AM, Yoshiaki Tamura wrote: > >> >Currently FdMigrationState doesn&#x

Re: Problem with bridged tap interface

2011-02-23 Thread Daniel P. Berrange
On Wed, Feb 23, 2011 at 12:34:45PM +0100, andreas.a...@de.transport.bombardier.com wrote: > Hi all, > > sorry for the previous partial e-mail, I hit the send button accidentally > ;-). > > I have a setup with a kvm-based virtual machine running a stock RedHat 6.1 > (yes, that old) on a rather

Re: Configuring the bridge interface: why assign an IP?

2011-03-14 Thread Daniel P. Berrange
On Mon, Mar 14, 2011 at 11:24:40AM -0600, Ben Beuchler wrote: > Most of the examples for setting up the bridge interface on a VM host > suggest assigning the IP address to the bridge. Assigning the IP to > the bridge leaves you open to the MAC address of the bridge changing > as you add/remove gue

Re: [libvirt] [Qemu-devel] KVM call minutes for Mar 15

2011-03-17 Thread Daniel P. Berrange
On Tue, Mar 15, 2011 at 12:06:06PM -0700, Chris Wright wrote: > * Anthony Liguori (anth...@codemonkey.ws) wrote: > > On 03/15/2011 09:53 AM, Chris Wright wrote: > > > QAPI > > > >- c library implementation is critical to have unit tests and test > > > driven development > > > - thread safe? >

Re: [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: add inject-nmi qmp command

2011-04-04 Thread Daniel P. Berrange
On Mon, Mar 07, 2011 at 05:46:28PM +0800, Lai Jiangshan wrote: > From: Lai Jiangshan > Date: Mon, 7 Mar 2011 17:05:15 +0800 > Subject: [PATCH 2/2] qemu,qmp: add inject-nmi qmp command > > inject-nmi command injects an NMI on all CPUs of guest. > It is only supported for x86 guest currently, it wi

Re: [Qemu-devel] KVM call minutes for November 29

2011-11-30 Thread Daniel P. Berrange
On Wed, Nov 30, 2011 at 11:22:37AM +0200, Alon Levy wrote: > On Tue, Nov 29, 2011 at 04:59:51PM -0600, Anthony Liguori wrote: > > On 11/29/2011 10:59 AM, Avi Kivity wrote: > > >On 11/29/2011 05:51 PM, Juan Quintela wrote: > > >>How to do high level stuff? > > >>- python? > > >> > > > > > >One of th

Re: [libvirt] (no subject)

2011-12-06 Thread Daniel P. Berrange
On Fri, Nov 11, 2011 at 07:56:58PM +0800, Osier Yang wrote: > Hi, all > > This is a basic implementation of libvirt Native Linux KVM > Tool driver. Note that this is just made with my own interest > and spare time, it's not an endorsement/effort by Red Hat, > and it isn't supported by Red Hat offi

Re: [libvirt] [PATCH] kvm tools: Introduce an ENV variable for the state dir

2011-12-06 Thread Daniel P. Berrange
On Fri, Nov 11, 2011 at 07:57:00PM +0800, Osier Yang wrote: > Which is named as "KVMTOOL_STATE_DIR", so that the user can > configure the path of state directly as he wants. > --- > tools/kvm/main.c |7 ++- > 1 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/tools/kvm/main

Re: [libvirt] [PATCH 5/7] kvmtool: Add new domain type

2011-12-06 Thread Daniel P. Berrange
On Fri, Nov 11, 2011 at 07:57:04PM +0800, Osier Yang wrote: > It's named as "kvmtool". > --- > src/conf/domain_conf.c |4 +++- > src/conf/domain_conf.h |1 + > 2 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c > index 58f4d0f

Re: [libvirt] [PATCH 2/7] kvmtool: Add documents

2011-12-06 Thread Daniel P. Berrange
On Fri, Nov 11, 2011 at 07:57:01PM +0800, Osier Yang wrote: > The document is rather rough now, but at least contains an domain > config example of all the current supported XMLs, and tells how to > play with the driver. > --- > docs/drivers.html.in|1 + > docs/drvkvmtool.html.in | 87 >

Re: [libvirt] [PATCH 3/7] kvmtool: Add new enums and error codes for the driver

2011-12-06 Thread Daniel P. Berrange
On Fri, Nov 11, 2011 at 07:57:02PM +0800, Osier Yang wrote: > --- > include/libvirt/virterror.h |1 + > src/driver.h|1 + > src/util/virterror.c|3 +++ > 3 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/include/libvirt/virterror.h b/include/lib

Re: [libvirt] [PATCH 4/7] kvmtool: Add hook support for kvmtool domain

2011-12-06 Thread Daniel P. Berrange
On Fri, Nov 11, 2011 at 07:57:03PM +0800, Osier Yang wrote: > Just like QEMU and LXC, kvm driver intends to support running hook > script before domain starting and after domain shutdown too. > --- > src/util/hooks.c | 11 ++- > src/util/hooks.h |8 > 2 files changed, 18 ins

Re: [libvirt] [PATCH 7/7] kvmtool: Implementation for kvm tool driver

2011-12-06 Thread Daniel P. Berrange
On Fri, Nov 11, 2011 at 07:57:06PM +0800, Osier Yang wrote: > Basically, the drivers is implemented by using kvm tool binary > currently, (see ./kvm help for more info). > > Current implementation supports define/undefine, start/destroy/, > suspend/resume, connect to guest console via "virsh conso

Re: [libvirt] (no subject)

2011-12-07 Thread Daniel P. Berrange
On Wed, Dec 07, 2011 at 08:21:06AM +0200, Sasha Levin wrote: > On Tue, 2011-12-06 at 14:38 +0000, Daniel P. Berrange wrote: > > On Fri, Nov 11, 2011 at 07:56:58PM +0800, Osier Yang wrote: > > > * KVM tool manages the network completely itself (with DHCP support?), > > &

Re: [PATCH] kvm tools: Allow the user to pass a FD to use as a TAP device

2011-12-07 Thread Daniel P. Berrange
lt;>/dev/net/tap3 > > > > Cc: Daniel P. Berrange > > Cc: Osier Yang > > Signed-off-by: Sasha Levin > > Daniel, Osier, I assume this is useful for libvirt? Yes, this works. I don't know if kvmtool supports the VNET_HDR extension yet, but if it doe

Re: 5x slower guest disk performance with virtio disk

2011-12-15 Thread Daniel P. Berrange
On Thu, Dec 15, 2011 at 07:16:22PM +0200, Sasha Levin wrote: > On Thu, 2011-12-15 at 11:55 -0500, Brian J. Murrell wrote: > > So, about 2/3 of host speed now -- which is much better. Is 2/3 about > > normal or should I be looking for more? > > aio=native > > Thats the qemu setting, I'm not sure

Re: SPEC-file for making RPMs (with rpmbuild)

2012-01-06 Thread Daniel P. Berrange
On Fri, Jan 06, 2012 at 11:11:21AM +0100, Guido Winkelmann wrote: > Hi, > > Is there a spec-file somewhere for creating RPMs from the newest qemu-kvm > release? The current Fedora RPM specfiles are always a good bet to start off with: http://pkgs.fedoraproject.org/gitweb/?p=qemu.git;a=blob;f=

Re: [Qemu-devel] qemu-kvm upstreaming: Do we need -no-kvm-pit and -no-kvm-pit-reinjection semantics?

2012-01-20 Thread Daniel P. Berrange
On Fri, Jan 20, 2012 at 11:22:27AM +0100, Jan Kiszka wrote: > On 2012-01-20 11:14, Marcelo Tosatti wrote: > > On Thu, Jan 19, 2012 at 07:01:44PM +0100, Jan Kiszka wrote: > >> On 2012-01-19 18:53, Marcelo Tosatti wrote: > What problems does it cause, and in which scenarios? Can't they be >

Re: [Qemu-devel] qemu-kvm upstreaming: Do we need -no-kvm-pit and -no-kvm-pit-reinjection semantics?

2012-01-20 Thread Daniel P. Berrange
On Fri, Jan 20, 2012 at 12:13:48PM +0100, Jan Kiszka wrote: > On 2012-01-20 11:25, Daniel P. Berrange wrote: > > On Fri, Jan 20, 2012 at 11:22:27AM +0100, Jan Kiszka wrote: > >> On 2012-01-20 11:14, Marcelo Tosatti wrote: > >>> On Thu, Jan 19, 2012 at 07:01:44PM +010

Re: [Qemu-devel] qemu-kvm upstreaming: Do we need -no-kvm-pit and -no-kvm-pit-reinjection semantics?

2012-01-20 Thread Daniel P. Berrange
On Fri, Jan 20, 2012 at 01:00:06PM +0100, Jan Kiszka wrote: > On 2012-01-20 12:45, Daniel P. Berrange wrote: > > On Fri, Jan 20, 2012 at 12:13:48PM +0100, Jan Kiszka wrote: > >> On 2012-01-20 11:25, Daniel P. Berrange wrote: > >>> On Fri, Jan 20, 2012 at 11:2

Re: [Qemu-devel] qemu-kvm upstreaming: Do we need -no-kvm-pit and -no-kvm-pit-reinjection semantics?

2012-01-20 Thread Daniel P. Berrange
On Fri, Jan 20, 2012 at 01:51:20PM +0100, Jan Kiszka wrote: > On 2012-01-20 13:42, Daniel P. Berrange wrote: > > On Fri, Jan 20, 2012 at 01:00:06PM +0100, Jan Kiszka wrote: > >> On 2012-01-20 12:45, Daniel P. Berrange wrote: > >>> On Fri, Jan 20, 2012 at 12:1

Re: [Qemu-devel] qemu-kvm upstreaming: Do we need -no-kvm-pit and -no-kvm-pit-reinjection semantics?

2012-01-20 Thread Daniel P. Berrange
On Fri, Jan 20, 2012 at 02:02:03PM +0100, Jan Kiszka wrote: > On 2012-01-20 13:54, Daniel P. Berrange wrote: > > On Fri, Jan 20, 2012 at 01:51:20PM +0100, Jan Kiszka wrote: > >> On 2012-01-20 13:42, Daniel P. Berrange wrote: > >>> On Fri, Jan 20, 2012 at 01:0

Re: [Qemu-devel] KVM call agenda for June, Tuesday 15th

2012-05-15 Thread Daniel P. Berrange
On Tue, May 15, 2012 at 08:44:14AM -0500, Anthony Liguori wrote: > On 05/15/2012 03:51 AM, Kevin Wolf wrote: > >Currently we have a very simple unidirectional structure: > >qemu is a standalone program that keeps running on its own. libvirt is > >the user of qemu. Often enough it's already hard to

Re: [Qemu-devel] [PATCH 3/3] deal with guest panicked event

2012-06-12 Thread Daniel P. Berrange
On Tue, Jun 12, 2012 at 09:35:04AM -0300, Luiz Capitulino wrote: > On Tue, 12 Jun 2012 14:55:37 +0800 > Wen Congyang wrote: > > > >> +static void panicked_perform_action(void) > > >> +{ > > >> +switch(panicked_action) { > > >> +case PANICKED_REPORT: > > >> +panicked_mon_event("rep

Re: [Qemu-devel] [PATCH 5/6 v5] deal with guest panicked event accoring to -onpanic parameter

2012-06-27 Thread Daniel P. Berrange
On Wed, Jun 27, 2012 at 04:52:32PM +0200, Cornelia Huck wrote: > On Wed, 27 Jun 2012 15:02:23 +0800 > Wen Congyang wrote: > > > When the guest is panicked, it will write 0x1 to the port KVM_PV_PORT. > > So if qemu reads 0x1 from this port, we can do the folloing three > > things according to the

Re: [RFC PATCH 0/6] option to not remove files inside -mem-path dir (v2)

2012-07-02 Thread Daniel P. Berrange
On Mon, Jul 02, 2012 at 03:06:32PM -0300, Eduardo Habkost wrote: > Resending series, after fixing some coding style issues. Does anybody has any > feedback about this proposal? > > Changes v1 -> v2: > - Coding style fixes > > Original cover letter: > > I was investigating if there are any mecha

Re: [RFC PATCH 0/6] option to not remove files inside -mem-path dir (v2)

2012-07-03 Thread Daniel P. Berrange
On Mon, Jul 02, 2012 at 04:54:03PM -0300, Eduardo Habkost wrote: > On Mon, Jul 02, 2012 at 07:56:58PM +0100, Daniel P. Berrange wrote: > > On Mon, Jul 02, 2012 at 03:06:32PM -0300, Eduardo Habkost wrote: > > > Resending series, after fixing some coding style issues. Does anyb

[PATCH] Fix default accelerator when building with --disable-kvm

2012-07-06 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The following commit commit 3ad763fcba5bd0ec5a79d4a9b6baeef119dd4a3d Author: Jan Kiszka Date: Fri Mar 2 10:30:43 2012 +0100 qemu-kvm: Use machine options to configure qemu-kvm defaults Upstream is moving towards this mechanism, so start u

Re: [PATCH] qemu-kvm: Fix default machine options

2012-07-06 Thread Daniel P. Berrange
chip=on that is now enable by default in upstream. > > CC: Daniel P. Berrange > Signed-off-by: Jan Kiszka ACK, looks good to me. > Noticed that there was more to do. Can you take care of stable-1.1, > Daniel? TIA. Yep, will post a patch for stable-1.1 when this is accepted in

Re: [libvirt] QEMU applying for Google Summer of Code 2012

2012-02-10 Thread Daniel P. Berrange
On Fri, Feb 10, 2012 at 10:30:24AM +, Stefan Hajnoczi wrote: > This year's Google Summer of Code has been announced: > > http://www.google-melange.com/gsoc/events/google/gsoc2012 > > For those who haven't heard of GSoC before, it funds university > students to work on open source projects dur

Re: [PATCH] kvm: notify host when guest paniced

2012-02-29 Thread Daniel P. Berrange
On Wed, Feb 29, 2012 at 11:49:58AM +0200, Avi Kivity wrote: > On 02/29/2012 03:29 AM, Wen Congyang wrote: > > At 02/28/2012 07:23 PM, Avi Kivity Wrote: > > > On 02/27/2012 05:01 AM, Wen Congyang wrote: > > >> We can know the guest is paniced when the guest runs on xen. > > >> But we do not have suc

Re: [PATCH] kvm: notify host when guest paniced

2012-02-29 Thread Daniel P. Berrange
On Wed, Feb 29, 2012 at 12:05:32PM +0200, Avi Kivity wrote: > On 02/29/2012 11:58 AM, Daniel P. Berrange wrote: > > > > > > How about using a virtio-serial channel for this? You can transfer any > > > amount of information (including the dump itself). > > &g

Re: [Qemu-devel] Use getaddrinfo for migration

2012-03-02 Thread Daniel P. Berrange
On Fri, Mar 02, 2012 at 02:25:36PM +0400, Michael Tokarev wrote: > Not a reply to the patch but a general observation. > > I noticed that the tcp migration uses gethostname > (or getaddrinfo after this patch) from the main > thread - is it really the way to go? Note that > DNS query which is done

Re: [RESEND][PATCH 2/2 v3] deal with guest panicked event

2012-03-08 Thread Daniel P. Berrange
On Thu, Mar 08, 2012 at 01:28:56PM +0200, Avi Kivity wrote: > On 03/08/2012 12:15 PM, Wen Congyang wrote: > > When the host knows the guest is panicked, it will set > > exit_reason to KVM_EXIT_GUEST_PANICKED. So if qemu receive > > this exit_reason, we can send a event to tell management > > applic

Re: [RESEND][PATCH 2/2 v3] deal with guest panicked event

2012-03-08 Thread Daniel P. Berrange
On Thu, Mar 08, 2012 at 01:52:45PM +0200, Avi Kivity wrote: > On 03/08/2012 01:36 PM, Daniel P. Berrange wrote: > > On Thu, Mar 08, 2012 at 01:28:56PM +0200, Avi Kivity wrote: > > > On 03/08/2012 12:15 PM, Wen Congyang wrote: > > > > When the host knows the

Re: [PATCH 0/2 v3] kvm: notify host when guest panicked

2012-03-13 Thread Daniel P. Berrange
On Mon, Mar 12, 2012 at 12:33:33PM +0200, Avi Kivity wrote: > On 03/12/2012 11:04 AM, Wen Congyang wrote: > > Do you have any other comments about this patch? > > > > Not really, but I'm not 100% convinced the patch is worthwhile. It's > likely to only be used by Linux, which has kexec facilities

Re: [PATCH 0/2 v3] kvm: notify host when guest panicked

2012-03-14 Thread Daniel P. Berrange
On Wed, Mar 14, 2012 at 03:21:14PM +0530, Amit Shah wrote: > On (Wed) 14 Mar 2012 [16:29:50], Wen Congyang wrote: > > At 03/13/2012 06:47 PM, Avi Kivity Wrote: > > > On 03/13/2012 11:18 AM, Daniel P. Berrange wrote: > > >> On Mon, Mar 12, 2012 at 12:33:33PM +0200, A

Re: [PATCH 0/2 v3] kvm: notify host when guest panicked

2012-03-14 Thread Daniel P. Berrange
On Wed, Mar 14, 2012 at 06:58:47PM +0800, Wen Congyang wrote: > At 03/14/2012 06:52 PM, Avi Kivity Wrote: > > On 03/14/2012 12:52 PM, Wen Congyang wrote: > >>> > If so, is this channel visible to guest userspace? If the channle is > visible to guest > userspace, the program running

Re: [PATCH 0/2 v3] kvm: notify host when guest panicked

2012-03-14 Thread Daniel P. Berrange
On Wed, Mar 14, 2012 at 07:06:50PM +0800, Wen Congyang wrote: > At 03/14/2012 06:59 PM, Daniel P. Berrange Wrote: > > On Wed, Mar 14, 2012 at 06:58:47PM +0800, Wen Congyang wrote: > >> At 03/14/2012 06:52 PM, Avi Kivity Wrote: > >>> On 03/14/2012 12:52 PM, Wen Congy

Re: [PATCH 0/2 v3] kvm: notify host when guest panicked

2012-03-21 Thread Daniel P. Berrange
On Wed, Mar 21, 2012 at 06:25:16PM +0200, Avi Kivity wrote: > On 03/21/2012 06:18 PM, Corey Minyard wrote: > > > >> Look at drivers/char/ipmi/ipmi_msghandler.c. It has code to send panic > >> event over IMPI. The code is pretty complex. Of course if we a going to > >> implement something more compl

Re: smp option of qemu-kvm

2012-04-05 Thread Daniel P. Berrange
On Thu, Apr 05, 2012 at 02:28:51PM -0400, Steven wrote: > Hi, > I started a kvm VM by adding -smp 2 option. From inside the guest, I > can see that /proc/cpuinfo outputs 2 cores. > However, in the host, I only observe one qemu-kvm process for that VM. > Does that mean this VM is actually running on

Re: smp option of qemu-kvm

2012-04-05 Thread Daniel P. Berrange
On Thu, Apr 05, 2012 at 02:52:40PM -0400, Steven wrote: > Hi, Daniel, > Thanks for your quick response. However, the ps -eLf show 4 threads > for the VM and I checked 4 threads have the same tgid. > But the VM I created is with -smp 2 option. Could you explain this? Thanks. As well as the vCPU thr

Re: USB Passthrough 1.1 performance problem...

2010-12-14 Thread Daniel P. Berrange
On Tue, Dec 14, 2010 at 12:55:04PM +0100, Kenni Lund wrote: > 2010/12/14 Erik Brakkee : > >> From: Kenni Lund > >> 2010/12/14 Erik Brakkee : > > From: Kenni Lund > > > > Does this mean I have a chance now that PCI passthrough of my WinTV > > PVR-500 > > might work now? >

Re: [PATCH v2] device-assignment: chmod the rom file before opening read/write

2011-01-05 Thread Daniel P. Berrange
On Wed, Jan 05, 2011 at 05:14:55PM +0200, Avi Kivity wrote: > On 01/05/2011 04:57 PM, Alex Williamson wrote: > >A valid argument. I think it could also be argued that the user is > >providing ownership of the file and writing to the file is part of the > >low level details of the sysfs rom file AP

Re: qemu-kvm-0.13.0 - winsows 2008 - chkdisk too slow

2011-01-06 Thread Daniel P. Berrange
On Thu, Jan 06, 2011 at 12:19:21PM +0200, Avi Kivity wrote: > On 01/06/2011 11:42 AM, Nikola Ciprich wrote: > >> - run trace-cmd record -e kvm -b 10 -P pid1 -P pid2, ctrl-C after a > >seems like it's not possible to specify multiple pids, so > > Did you get 'overrun: something' reports from t

Re: [libvirt] cgroup limits only affect kvm guest under certain conditions

2011-01-06 Thread Daniel P. Berrange
On Thu, Jan 06, 2011 at 02:15:37PM +0100, Dominik Klein wrote: > Hi > > I am playing with cgroups and try to limit block io for guests. > > The proof of concept is: > > # mkdir /dev/cgroup/blkio > # mount -t cgroup -o blkio blkio /dev/cgroup/blkio/ > # cd blkio/ > # mkdir test > # cd test/ > # l

Re: [BUG] VM stuck in interrupt-loop after suspend to/resumed from file, or no interrupts at all

2011-01-12 Thread Daniel P. Berrange
On Wed, Jan 12, 2011 at 03:51:13PM +0100, Philipp Hahn wrote: > Hello, > > libvirt implements a manages save, which suspens a VM to a file, from which > it > can be resumed later. This uses Qemus/Kvms "migrate exec:" feature. > This doesn't work reliable for me: In may cases the resumed VM seems

Re: [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: add inject-nmi qmp command

2011-04-14 Thread Daniel P. Berrange
On Wed, Apr 13, 2011 at 10:56:21PM +0300, Blue Swirl wrote: > On Wed, Apr 13, 2011 at 4:08 PM, Luiz Capitulino > wrote: > > On Tue, 12 Apr 2011 21:31:18 +0300 > > Blue Swirl wrote: > > > >> On Tue, Apr 12, 2011 at 10:52 AM, Avi Kivity wrote: > >> > On 04/11/2011 08:15 PM, Blue Swirl wrote: > >>

Re: drop -enable-nesting

2011-05-31 Thread Daniel P. Berrange
On Mon, May 30, 2011 at 06:19:14PM +0300, Avi Kivity wrote: > On 05/30/2011 06:15 PM, Jan Kiszka wrote: > >On 2011-05-30 17:10, Roedel, Joerg wrote: > >> On Mon, May 30, 2011 at 11:04:02AM -0400, Jan Kiszka wrote: > >>> On 2011-05-30 16:38, Nadav Har'El wrote: > On Mon, May 30, 2011, Jan Ki

Re: [Qemu-devel][RFC]QEMU disk I/O limits

2011-05-31 Thread Daniel P. Berrange
On Tue, May 31, 2011 at 09:45:37AM -0400, Vivek Goyal wrote: > On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: > > Hello, all, > > > > I have prepared to work on a feature called "Disk I/O limits" for > > qemu-kvm projeect. > > This feature will enable the user to cap disk I/

Re: [Qemu-devel][RFC]QEMU disk I/O limits

2011-05-31 Thread Daniel P. Berrange
On Tue, May 31, 2011 at 10:10:37AM -0400, Vivek Goyal wrote: > On Tue, May 31, 2011 at 02:56:46PM +0100, Daniel P. Berrange wrote: > > On Tue, May 31, 2011 at 09:45:37AM -0400, Vivek Goyal wrote: > > > On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote:

Re: kernel 3.9.x kvm hangs after seabios

2013-05-08 Thread Daniel P. Berrange
On Wed, May 08, 2013 at 02:08:55PM +0200, Tomas Papan wrote: > Hi, > > I found this in the libvirt (but those messages are same in 3.8.x) > anakin libvirt # cat libvirtd.log > 2013-05-08 11:59:29.645+: 3750: info : libvirt version: 1.0.5 > 2013-05-08 11:59:29.645+: 3750: error : udevGetDMI

Re: [libvirt] Bugs filed in the week for Upstream Qemu and Libvirt

2013-07-10 Thread Daniel P. Berrange
On Wed, Jul 10, 2013 at 06:45:08PM +0530, chandrashekar shastri wrote: > Hi, > > Below are bugs filed in this week for Upstream qemu and libvirt: > > Qemu in Launchpad: > > https://bugs.launchpad.net/opensuse/+bug/1199416 > Hot-add qcow2 [virtio-scsi] devices doesn't work in SlLES-11-SP2guest >

Re: Disabling mergeable rx buffers for the guest

2013-07-16 Thread Daniel P. Berrange
On Tue, Jul 16, 2013 at 10:40:28AM +, Naor Shlomo wrote: > Hi Paolo, > > For some unknown reason it suddenly started to accept the changes to the XML > and the strings you gave me are now in place. > Upon machine start I now receive the following error messages: > > virsh # start NaorDev > e

Re: [libvirt-users] Questions on how to reset ID numbers for virt Guests.

2013-09-11 Thread Daniel P. Berrange
On Wed, Sep 11, 2013 at 09:47:07AM +0200, Paolo Bonzini wrote: > Il 11/09/2013 00:27, James Sparenberg ha scritto: > > I'm doing some experimenting in our Development lab and as a result > > I'm kickstarting over and over Virtual guests. This is of course > > causing the guest Id to increment by o

Re: [Qemu-devel] [PATCH v2 1/2] contrib: add ivshmem client and server

2014-07-21 Thread Daniel P. Berrange
On Mon, Jul 21, 2014 at 08:21:21AM -0600, Eric Blake wrote: > On 07/20/2014 03:38 AM, David Marchand wrote: > > When using ivshmem devices, notifications between guests can be sent as > > interrupts using a ivshmem-server (typical use described in documentation). > > The client is provided as a deb

Re: qemu, numa: non-contiguous cpusets

2013-09-30 Thread Daniel P. Berrange
On Sun, Sep 29, 2013 at 05:10:44PM +0200, Borislav Petkov wrote: > Btw, > > while I got your attention, on a not-really related topic: how do we > feel about adding support for specifying a non-contiguous set of cpus > for a numa node in qemu with the -numa option? I.e., like this, for > example:

Re: Help regarding virsh domifstat

2013-11-01 Thread Daniel P. Berrange
On Thu, Oct 31, 2013 at 08:30:30PM -0500, Rohit Bhat wrote: > Hi, > > I need a small help. I am working on a project where i have to monitor > network activity of a VM running on KVM. > > I am interested in how much data is going into the VM and how much > data is coming out of the VM. I checked

Re: [libvirt] TSC scaling interface to management

2012-09-25 Thread Daniel P. Berrange
On Wed, Sep 12, 2012 at 12:39:39PM -0300, Marcelo Tosatti wrote: > > > HW TSC scaling is a feature of AMD processors that allows a > multiplier to be specified to the TSC frequency exposed to the guest. > > KVM also contains provision to trap TSC ("KVM: Infrastructure for > software and hardware

Re: [Qemu-devel] [PATCH] kvm: Set default accelerator to "kvm" if the host supports it

2012-10-01 Thread Daniel P. Berrange
On Mon, Oct 01, 2012 at 06:43:00PM +0200, Andreas Färber wrote: > Hello Jan, > > Am 01.10.2012 16:34, schrieb Jan Kiszka: > > If we built a target for a host that supports KVM in principle, set the > > default accelerator to KVM as well. This also means the start of QEMU > > will fail to start if

Re: qemu-kvm: remove "boot=on|off" drive parameter compatibility

2012-10-02 Thread Daniel P. Berrange
On Mon, Oct 01, 2012 at 08:19:29AM -0500, Anthony Liguori wrote: > Jan Kiszka writes: > I think at this point, none of this matters but I added the various > distro maintainers to the thread. > > I think it's time for the distros to drop qemu-kvm and just ship > qemu.git. Is there anything else

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

2014-04-29 Thread Daniel P. Berrange
On Tue, Apr 29, 2014 at 02:33:58PM +0200, Markus Armbruster wrote: > Peter Maydell writes: > > > On 29 April 2014 11:09, Michael S. Tsirkin wrote: > >> Let's just make clear how to contact us securely, when to contact that > >> list, and what we'll do with the info. I cobbled together the > >>

  1   2   3   >