[libvirt] [Solved]:LibvirtError: Operation not supported : JSON monitor is required

2014-05-08 Thread xeon_feng
Hello everyone I have solved the problem(LibvirtError: Operation not supported : JSON monitor is required). yajl-devel package must be intalled before compile and install libvirt 1.2.4 . then rebuild and install libvirt-python 1.2.4 every thing is OK. Hi

[libvirt] [PATCH V7] libxl: add migration support

2014-05-08 Thread Jim Fehlig
This patch adds initial migration support to the libxl driver, using the VIR_DRV_FEATURE_MIGRATION_PARAMS family of migration functions. Signed-off-by: Jim Fehlig --- V6 here https://www.redhat.com/archives/libvir-list/2014-May/msg00017.html In V7: There were no comments on V6, but during tes

[libvirt] [PATCH] virsh: For virsh migrate --tunnelled, use the virDomainMigrateToURI3 API.

2014-05-08 Thread Richard W.M. Jones
Using virsh migrate + the --tunnelled flag causes virsh to use the wrong API. This gives the error: error: use virDomainMigrateToURI3 for peer-to-peer migration As the error message is wrong, this patch also corrects the error message. https://bugzilla.redhat.com/show_bug.cgi?id=1095924 Sign

Re: [libvirt] [Qemu-devel] [RFC 0/5] Allow object-add on X86CPU subclasses, for CPU model probing

2014-05-08 Thread Eduardo Habkost
On Tue, May 06, 2014 at 10:29:24PM +0200, Andreas Färber wrote: > Am 06.05.2014 22:19, schrieb Eduardo Habkost: > > On Tue, May 06, 2014 at 10:01:11PM +0200, Igor Mammedov wrote: > >> On Tue, 6 May 2014 11:42:56 -0300 > >> Eduardo Habkost wrote: > >>> On Tue, May 06, 2014 at 09:22:38AM +0200, Igor

[libvirt] [PATCH] qemu: Adjust size for qcow2/qed if not on sector boundary (rewrite)

2014-05-08 Thread John Ferlan
A post commit id 'e3d66229' review (and followup): http://www.redhat.com/archives/libvir-list/2014-May/msg00268.html noted some issues with the code, so I have adjusted the code accordingly. The difference between this and the commit prior to the change (commit id 'f3be5f0c') will just be the che

[libvirt] [PATCH v2] Add invariant TSC cpu flag

2014-05-08 Thread Ján Tomko
Add suport for invariant TSC flag (CPUID 0x8007, bit 8 of EDX). If this flag is enabled, the TSC ticks at a constant rate across all ACPI P-, C- and T-states. This can be enabled by adding: to the element. Migration and saving the domain does not work with this flag. QEMU support for this

Re: [libvirt] [PATCH 1/4] parallels: add VIR_STORAGE_FILE_PLOOP format

2014-05-08 Thread Dmitry Guryanov
On Thursday 08 May 2014 11:58:22 Daniel P. Berrange wrote: > On Wed, May 07, 2014 at 10:04:06PM +0400, Dmitry Guryanov wrote: > > Add VIR_STORAGE_FILE_PLOOP format. This format is used > > to store disk images for virtual machines in PCS and containers > > in PCS, OpenVZ and also in Parallels Deskt

Re: [libvirt] [PATCH 1/4] parallels: add VIR_STORAGE_FILE_PLOOP format

2014-05-08 Thread Daniel P. Berrange
On Wed, May 07, 2014 at 10:04:06PM +0400, Dmitry Guryanov wrote: > Add VIR_STORAGE_FILE_PLOOP format. This format is used > to store disk images for virtual machines in PCS and containers > in PCS, OpenVZ and also in Parallels Desktop for Mac. > > This format is described on OpenVZ site - > https:

Re: [libvirt] [PATCH 1/4] parallels: add VIR_STORAGE_FILE_PLOOP format

2014-05-08 Thread Dmitry Guryanov
On Thursday 08 May 2014 10:43:41 Daniel P. Berrange wrote: > On Wed, May 07, 2014 at 10:04:06PM +0400, Dmitry Guryanov wrote: > > Add VIR_STORAGE_FILE_PLOOP format. This format is used > > to store disk images for virtual machines in PCS and containers > > in PCS, OpenVZ and also in Parallels Deskt

Re: [libvirt] [PATCH 4/4] parallels: create VMs in the default place

2014-05-08 Thread Daniel P. Berrange
On Wed, May 07, 2014 at 10:04:09PM +0400, Dmitry Guryanov wrote: > Each VM consists of a set of files in PCS: config, hard > disk images, log file, memory dump. All these files are stored > in a per-vm directory. When we create a new VM, we can ether specify > path to the VM or create the VM in a d

Re: [libvirt] [PATCH 3/4] parallels: add disks correctly

2014-05-08 Thread Daniel P. Berrange
On Wed, May 07, 2014 at 10:04:08PM +0400, Dmitry Guryanov wrote: > Disks support in this driver was implemented with an assumption, > that disk images can't be created by hand, without VM. So > complex storage driver was implemented with workaround. > > This is not true, we can create new disks us

Re: [libvirt] [PATCH 1/4] parallels: add VIR_STORAGE_FILE_PLOOP format

2014-05-08 Thread Daniel P. Berrange
On Wed, May 07, 2014 at 10:04:06PM +0400, Dmitry Guryanov wrote: > Add VIR_STORAGE_FILE_PLOOP format. This format is used > to store disk images for virtual machines in PCS and containers > in PCS, OpenVZ and also in Parallels Desktop for Mac. > > This format is described on OpenVZ site - > https:

Re: [libvirt] Configure virtio-scsi options via libvirt

2014-05-08 Thread Daniel P. Berrange
On Wed, May 07, 2014 at 10:24:54AM +0200, Ján Tomko wrote: > On 05/07/2014 01:13 AM, Mike Perez wrote: > > Hi everyone, > > > > I would like be able to configure virtio-scsi options num_queues, > > max_sectors, > > and cmd_per_lun via libvirt. Are there any plans to have this support? > > > > n

Re: [libvirt] Configure virtio-scsi options via libvirt

2014-05-08 Thread Paolo Bonzini
Il 08/05/2014 09:24, Mike Perez ha scritto: On 10:08 Wed 07 May , Stefan Hajnoczi wrote: On Tue, May 06, 2014 at 04:13:50PM -0700, Mike Perez wrote: I would like be able to configure virtio-scsi options num_queues, max_sectors, and cmd_per_lun via libvirt. Are there any plans to have this s

Re: [libvirt] Configure virtio-scsi options via libvirt

2014-05-08 Thread Mike Perez
On 10:08 Wed 07 May , Stefan Hajnoczi wrote: > On Tue, May 06, 2014 at 04:13:50PM -0700, Mike Perez wrote: > > I would like be able to configure virtio-scsi options num_queues, > > max_sectors, > > and cmd_per_lun via libvirt. Are there any plans to have this support? > > Hi Mike, > I'm not s

Re: [libvirt] [PATCH] qemu: Adjust size for qcow2/qed if not on sector boundary

2014-05-08 Thread Ján Tomko
On 05/07/2014 09:05 PM, John Ferlan wrote: diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 4bb4819..3e407d7 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -9421,6 +9421,7 @@ qemuDomainBlockResize(virDomainPtr dom, virDomainO