Re: [libvirt] [PATCH] daemon: Don't just include admin RPC

2015-06-17 Thread Eric Blake
On 06/17/2015 10:10 AM, Michal Privoznik wrote: So, it's a little paradox that we use the file twice. Firstly to build libvirt-admin.la (a client side of the Admin API), then once again to build the server side. Well, the problem is, this does not play nicely with the distclean since the file

Re: [libvirt] nodedev-dumpxml doesn't refresh supported offload NIC capabilities

2015-06-17 Thread Laine Stump
On 06/17/2015 03:18 AM, Moshe Levi wrote: Hi Laine, I verified your fix and it working. Do I need to fill bug for this? It depends on where you need it. If you need it in the distro build of an already-released version of some distro, then you should file a bug in their tracking system. I

Re: [libvirt] [PATCH] qemu: Report all supported machine types in capabilities

2015-06-17 Thread John Ferlan
On 06/12/2015 08:53 AM, Jiri Denemark wrote: Some machine types are only reported as canonical names for other machine types, which make it a bit harder to find what machine types are supported by a specific QEMU binary. Ideally, one would just use

Re: [libvirt] Overhead for a default cpu cg placement scheme

2015-06-17 Thread Andrey Korolyov
On Thu, Jun 11, 2015 at 4:30 PM, Daniel P. Berrange berra...@redhat.com wrote: On Thu, Jun 11, 2015 at 04:24:18PM +0300, Andrey Korolyov wrote: On Thu, Jun 11, 2015 at 4:13 PM, Daniel P. Berrange berra...@redhat.com wrote: On Thu, Jun 11, 2015 at 04:06:59PM +0300, Andrey Korolyov wrote: On

Re: [libvirt] [PATCH] tests: Sort EXTRA_DIST in the Makefile

2015-06-17 Thread Eric Blake
On 06/17/2015 10:13 AM, Michal Privoznik wrote: We tend to keep the folders in the EXTRA_DIST sorted alphabetically. However, we've failed sometimes and the list is not ordered anymore. Reorder it back. Signed-off-by: Michal Privoznik mpriv...@redhat.com --- tests/Makefile.am | 20

Re: [libvirt] [PATCHv2 01/13] conf: Fix virDomainObjGetDefs when getting persistent config on a live vm

2015-06-17 Thread John Ferlan
On 06/15/2015 03:47 PM, Peter Krempa wrote: If @flags contains only VIR_DOMAIN_AFFECT_CONFIG and @vm is active, the function would return the active config rather than the persistent one that it should return. This happened due to the fact that virDomainObjGetDefs was checking the updated

Re: [libvirt] [PATCH 02/13] conf: Introduce helper to help getting correct def for getter functions

2015-06-17 Thread John Ferlan
On 06/15/2015 03:47 PM, Peter Krempa wrote: virDomainObjGetOneDef will help to retrieve the correct definition pointer from @vm in cases where VIR_DOMAIN_AFFECT_LIVE and VIR_DOMAIN_AFFECT_CONFIG are mutually exclusive. The function simply returns the correct pointer. This similarly to

[libvirt] libvirt proxy

2015-06-17 Thread Vasiliy Tolstov
Hello. I need libvirt proxy, but not simple proxy connection, but something like dedicated libvirt server, that can modify requests or doing something based on incoming request. I'm use go for this, i'm already parse xdr data, but i'm stuck at payload. Where i can find payloads examples or how can

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Andrey Korolyov
On Thu, Jun 18, 2015 at 12:21 AM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2015-06-17 19:26 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru: This is band news =( i have debian wheezy that have old kernel... Does it possible to get proper results with balloon ? For example by patching qemu or

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Vasiliy Tolstov
2015-06-18 1:40 GMT+03:00 Andrey Korolyov and...@xdel.ru: Yes, but I`m afraid that I don`t fully understand why do you need this when pure hotplug mechanism is available, aside may be nice memory stats from balloon and easy-to-use deflation. Just populate a couple of static dimms with small

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Andrey Korolyov
On Thu, Jun 18, 2015 at 1:44 AM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2015-06-18 1:40 GMT+03:00 Andrey Korolyov and...@xdel.ru: Yes, but I`m afraid that I don`t fully understand why do you need this when pure hotplug mechanism is available, aside may be nice memory stats from balloon

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Vasiliy Tolstov
2015-06-18 1:52 GMT+03:00 Andrey Korolyov and...@xdel.ru: Whoosh... technically it is possible but it would be an incompatible fork for the upstreams for both SeaBIOS and Qemu, because the generic way of plugging DIMMs in is available down to at least generic 2.6.32. Except may be Centos where

Re: [libvirt] [PATCH 07/13] qemu: Simplify qemuDomainGetVcpusFlags by using virDomainObjGetOneDef

2015-06-17 Thread John Ferlan
On 06/15/2015 03:47 PM, Peter Krempa wrote: virDomainObjGetOneDef is simpler to use than virDomainObjGetDefs --- src/qemu/qemu_driver.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) ACK - 3/13 to 7/13 although there's an unrelated, but since I was here NIT below. John

Re: [libvirt] [PATCH 08/13] qemu: Simplify qemuDomainSetInterfaceParameters by using virDomainObjGetDefs

2015-06-17 Thread John Ferlan
On 06/15/2015 03:47 PM, Peter Krempa wrote: --- src/qemu/qemu_driver.c | 40 1 file changed, 16 insertions(+), 24 deletions(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 2cb0215..ceadc31 100644 --- a/src/qemu/qemu_driver.c

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Vasiliy Tolstov
2015-06-17 19:26 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru: This is band news =( i have debian wheezy that have old kernel... Does it possible to get proper results with balloon ? For example by patching qemu or something like this? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru --

Re: [libvirt] [PATCH 13/13] conf: Move vcpu info parsing code into a separate function

2015-06-17 Thread John Ferlan
On 06/15/2015 03:47 PM, Peter Krempa wrote: --- src/conf/domain_conf.c | 132 - 1 file changed, 76 insertions(+), 56 deletions(-) ACK 12-13 John -- libvir-list mailing list libvir-list@redhat.com

Re: [libvirt] [PATCH 11/13] qemu: Reuse virDomainObjGetDefs in qemuDomainGetMemoryParameters

2015-06-17 Thread John Ferlan
On 06/15/2015 03:47 PM, Peter Krempa wrote: Simplify the code by restructuring control flow and reusing the better helper. --- src/qemu/qemu_driver.c | 27 --- 1 file changed, 8 insertions(+), 19 deletions(-) ACK 9-11 John -- libvir-list mailing list

Re: [libvirt] [PATCH] libxl: rework reference counting

2015-06-17 Thread Jim Fehlig
Anthony PERARD wrote: On Tue, Jun 16, 2015 at 10:53:15AM +0100, Anthony PERARD wrote: On Mon, Jun 15, 2015 at 08:36:47PM -0600, Jim Fehlig wrote: Similar to commit 540c339a for the QEMU driver, rework reference counting in the libxl driver to make it more deterministic and the code

[libvirt] VIRTIO v1.0 15-day public review - ends July 2nd

2015-06-17 Thread Chet Ensign
OASIS members and other interested parties, The Virtual I/O Device (VIRTIO) TC members [1] have produced an updated Committee Specification Draft (CSD) and submitted this specification for 15-day public review: Virtual I/O Device (VIRTIO) Version 1.0 Committee Specification Draft 04 / Public

Re: [libvirt] [PATCH] nodedev: update netdev feature bits before each dumpxml

2015-06-17 Thread Laine Stump
On 06/17/2015 04:35 AM, Ján Tomko wrote: On Tue, Jun 16, 2015 at 12:03:55PM -0400, Laine Stump wrote: As with several other attributes of devices (link status, sriov VF list, IOMMU group list), the detdev feature bits aren't automatically s/det/net/ updated in the nodedev driver's cache when

Re: [libvirt] [sandbox PATCH 2/3] Add configuration object for disk support

2015-06-17 Thread Cedric Bosdonnat
On Wed, 2015-06-17 at 10:35 +0100, Daniel P. Berrange wrote: On Wed, Jun 17, 2015 at 09:43:23AM +0200, Cedric Bosdonnat wrote: Hi Daniel, On Thu, 2015-06-11 at 14:47 +0100, Daniel P. Berrange wrote: On Wed, Jun 10, 2015 at 01:40:09PM +0200, Eren Yagdiran wrote: Add the config

Re: [libvirt] [sandbox PATCH 2/3] Add configuration object for disk support

2015-06-17 Thread Cedric Bosdonnat
Hi Daniel, On Thu, 2015-06-11 at 14:47 +0100, Daniel P. Berrange wrote: On Wed, Jun 10, 2015 at 01:40:09PM +0200, Eren Yagdiran wrote: Add the config gobject, functions to store and load the new configuration fragments and test. This will allow creating sandboxes with attached disk with a

[libvirt] [sandbox] configure: check for static libc

2015-06-17 Thread Cédric Bosdonnat
Missing static libc doesn't really prevent the build to finish, but it would cause errors when running qemu sandboxes. Checking in configure will save time for new developers. --- configure.ac | 2 ++ m4/virt-static.m4 | 33 + 2 files changed, 35

Re: [libvirt] nodedev-dumpxml doesn't refresh supported offload NIC capabilities

2015-06-17 Thread Moshe Levi
Hi Laine, I verified your fix and it working. Do I need to fill bug for this? From: sendmail [mailto:justsendmailnothinge...@gmail.com] On Behalf Of Laine Stump Sent: Tuesday, June 16, 2015 6:50 PM To: libvir-list@redhat.com Cc: Moshe Levi Subject: Re: [libvirt] nodedev-dumpxml doesn't refresh

Re: [libvirt] [libvirt-glib] gconfig: Fix small leak in test-domain-create

2015-06-17 Thread Christophe Fergeau
Ping? On Mon, Apr 13, 2015 at 11:09:31AM +0200, Christophe Fergeau wrote: The object returned by gvir_config_domain_disk_get_driver() must be unref'ed when no longer used. --- libvirt-gconfig/tests/test-domain-create.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [libvirt] [libvirt-glib] gconfig: Fix small leak in test-domain-create

2015-06-17 Thread Daniel P. Berrange
On Wed, Jun 17, 2015 at 10:49:05AM +0200, Christophe Fergeau wrote: Ping? On Mon, Apr 13, 2015 at 11:09:31AM +0200, Christophe Fergeau wrote: The object returned by gvir_config_domain_disk_get_driver() must be unref'ed when no longer used. ---

Re: [libvirt] [PATCH] nodedev: update netdev feature bits before each dumpxml

2015-06-17 Thread Ján Tomko
On Tue, Jun 16, 2015 at 12:03:55PM -0400, Laine Stump wrote: As with several other attributes of devices (link status, sriov VF list, IOMMU group list), the detdev feature bits aren't automatically s/det/net/ updated in the nodedev driver's cache when they change. In order to get a properly

Re: [libvirt] [sandbox] configure: check for static libc

2015-06-17 Thread Daniel P. Berrange
On Wed, Jun 17, 2015 at 10:11:20AM +0200, Cédric Bosdonnat wrote: Missing static libc doesn't really prevent the build to finish, but it would cause errors when running qemu sandboxes. Checking in configure will save time for new developers. --- configure.ac | 2 ++ m4/virt-static.m4

Re: [libvirt] [sandbox PATCH 2/3] Add configuration object for disk support

2015-06-17 Thread Daniel P. Berrange
On Wed, Jun 17, 2015 at 09:43:23AM +0200, Cedric Bosdonnat wrote: Hi Daniel, On Thu, 2015-06-11 at 14:47 +0100, Daniel P. Berrange wrote: On Wed, Jun 10, 2015 at 01:40:09PM +0200, Eren Yagdiran wrote: Add the config gobject, functions to store and load the new configuration fragments

[libvirt] [[libvirt-php][PATCH v1] fix memory functions] define memory functions

2015-06-17 Thread Vasiliy Tolstov
Signed-off-by: Vasiliy Tolstov v.tols...@selfip.ru --- src/libvirt-php.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libvirt-php.c b/src/libvirt-php.c index d46fbb9..093623c 100644 --- a/src/libvirt-php.c +++ b/src/libvirt-php.c @@ -136,6 +136,9 @@ static zend_function_entry

[libvirt] [PATCH 2/4] parallels: Fix false error messages in libvirt log

2015-06-17 Thread Mikhail Feoktistov
There was many errors in libvirt.log caused by prlsdkDelNet function because job variable was always initialized as PRL_INVALID_HANDLE In this patch job variable gets return value of PrlSrv_DeleteVirtualNetwork function() --- src/vz/vz_sdk.c |2 +- 1 files changed, 1 insertions(+), 1

Re: [libvirt] [PATCH 3/4] parallels: Switch on DHCP for newly created network adapters

2015-06-17 Thread Laine Stump
On 06/17/2015 08:35 AM, Mikhail Feoktistov wrote: Let network adapter use DHCP server to get network configuration. To do this we use PrlVmDevNet_SetConfigureWithDhcp to enable it and PrlVmDevNet_SetAutoApply to makes necessary settings within guest OS In linux case it creates network startup

Re: [libvirt] [PATCH 0/4] parallels: Implementation of attach/detach network devices and small network fixes

2015-06-17 Thread Dmitry Guryanov
On 06/17/2015 04:05 PM, Maxim Nestratov wrote: 17.06.2015 15:35, Mikhail Feoktistov пишет: Mikhail Feoktistov (4): parallels: Fix initialization of buflen variable in each loop iteration parallels: Fix false error messages in libvirt log parallels: Switch on DHCP for newly created

Re: [libvirt] [PATCH v2] virSysinfo: Introduce SMBIOS type 2 support

2015-06-17 Thread John Ferlan
On 06/12/2015 06:02 AM, Michal Privoznik wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1220527 This type of information defines attributes of a system baseboard. With one caveat: in qemu they call it family, while in the specification it's referred to as type. I'm sticking with the

Re: [libvirt] [[libvirt-php][PATCH v2] qemu-agent-command] fixes for installation and add another libvirt function

2015-06-17 Thread Vasiliy Tolstov
2015-06-17 15:47 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru: * add libvirt_domain_qemu_agent_command * fix install target, because before this all stuff goes to /usr/usr dir Signed-off-by: Vasiliy Tolstov v.tols...@selfip.ru This version fixes segfault then return result. -- Vasiliy

Re: [libvirt] [PATCH 0/4] parallels: Implementation of attach/detach network devices and small network fixes

2015-06-17 Thread Maxim Nestratov
17.06.2015 15:35, Mikhail Feoktistov пишет: Mikhail Feoktistov (4): parallels: Fix initialization of buflen variable in each loop iteration parallels: Fix false error messages in libvirt log parallels: Switch on DHCP for newly created network adapters parallels: implementation

[libvirt] incorrect memory size inside vm

2015-06-17 Thread Vasiliy Tolstov
Hi. I have issue with incorrect memory side inside vm. I'm try utilize memory balloon (not memory hotplug, because i have guest without memory hotplug (may be)). When domain started with static memory all works fine, but then i'm specify in libvirt memory = 16384 , maxMemory = 16384 and

[libvirt] PING: [PATCH v2 0/2] Allow PCI virtio on ARM virt machine

2015-06-17 Thread Pavel Fedin
Knock-knock??? Sorry for possibly repeated PING, but i see that mailing list for some reason strips CC:'s if specified without real name, so retry with name this time. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia -Original Message- From:

[libvirt] [PATCH 0/4] parallels: Implementation of attach/detach network devices and small network fixes

2015-06-17 Thread Mikhail Feoktistov
Mikhail Feoktistov (4): parallels: Fix initialization of buflen variable in each loop iteration parallels: Fix false error messages in libvirt log parallels: Switch on DHCP for newly created network adapters parallels: implementation of attach/detach network devices -- libvir-list

[libvirt] [PATCH 1/4] parallels: Fix initialization of buflen variable in each loop iteration

2015-06-17 Thread Mikhail Feoktistov
We need to initialize buflen every time when we get network adapter's friendly name because we call PrlVmDev_GetFriendlyName in a loop --- src/vz/vz_sdk.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c index f9cde44..c36dad6 100644 ---

[libvirt] [PATCH 3/4] parallels: Switch on DHCP for newly created network adapters

2015-06-17 Thread Mikhail Feoktistov
Let network adapter use DHCP server to get network configuration. To do this we use PrlVmDevNet_SetConfigureWithDhcp to enable it and PrlVmDevNet_SetAutoApply to makes necessary settings within guest OS In linux case it creates network startup scripts /etc/sysconfig/network-scripts/ifcfg-ethN and

[libvirt] [PATCH 4/4] parallels: implementation of attach/detach network devices

2015-06-17 Thread Mikhail Feoktistov
In this patch we add VIR_DOMAIN_DEVICE_NET handlers implementation for domainAttachDevice and domainDetachDevice callbacks. As soon as we don't support this operation for hypervisor type domains, we implement this functionality for containers only. In detach procedure we find network device by

[libvirt] [[libvirt-php][PATCH v2] qemu-agent-command] fixes for installation and add another libvirt function

2015-06-17 Thread Vasiliy Tolstov
* add libvirt_domain_qemu_agent_command * fix install target, because before this all stuff goes to /usr/usr dir Signed-off-by: Vasiliy Tolstov v.tols...@selfip.ru --- configure.ac | 3 +++ src/Makefile.am | 19 ++- src/libvirt-php.c | 28

[libvirt] [PATCH 0/3] Fix yet again some Admin API bugs

2015-06-17 Thread Michal Privoznik
Pushed under trivial and build-breaker rules. The 'make rpm' is broken. There is still one issue I'm chasing down. Running 'distcheck' shows some errors. Michal Privoznik (3): daemon: Distribute admin_server.h tests: Follow virnetserver to virnetdaemon transition libvirt.spec: Don't

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Andrey Korolyov
On Wed, Jun 17, 2015 at 4:35 PM, Vasiliy Tolstov v.tols...@selfip.ru wrote: Hi. I have issue with incorrect memory side inside vm. I'm try utilize memory balloon (not memory hotplug, because i have guest without memory hotplug (may be)). When domain started with static memory all works fine,

Re: [libvirt] [PATCH 0/5 v2] Corrections to SCSI logical unit handling

2015-06-17 Thread Matthew Rosato
On 06/16/2015 11:29 PM, Eric Farman wrote: While working with the hostdev tag and SCSI LUNs, a problem was discovered with the XML schema (see commit message in patch 4). This spawned some further corrections to the handling of the logical unit field throughout libvirt. This series was

[libvirt] [PATCH 3/3] parallels: add memory statistics

2015-06-17 Thread Nikolay Shirokovskiy
Implemented counters: VIR_DOMAIN_MEMORY_STAT_SWAP_IN VIR_DOMAIN_MEMORY_STAT_SWAP_OUT VIR_DOMAIN_MEMORY_STAT_MINOR_FAULT VIR_DOMAIN_MEMORY_STAT_MAJOR_FAULT VIR_DOMAIN_MEMORY_STAT_AVAILABLE VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON VIR_DOMAIN_MEMORY_STAT_UNUSED Comments. 1. Use

[libvirt] [PATCH 2/3] parallels: add vcpu statistics

2015-06-17 Thread Nikolay Shirokovskiy
Comments. Replace vzDomObjFromDomain/virObjectUnlock pair to vzDomObjFromDomainRef/virDomainObjEndAPI as we use prlsdkGetStatsParam. See previous statistics comments. Signed-off-by: Nikolay Shirokovskiy nshirokovs...@parallels.com --- src/vz/vz_driver.c | 16 ++-- 1 files changed,

[libvirt] [PATCH 1/2] Support for the new watchdog action inject-nmi

2015-06-17 Thread Boris Fiuczynski
This patches provides support for the new watchdog action inject-nmi which allows to define an inject of a non-maskable interrupt into a guest. Signed-off-by: Boris Fiuczynski fiu...@linux.vnet.ibm.com Reviewed-by: Daniel Hansel daniel.han...@linux.vnet.ibm.com Reviewed-by: Stefan Zimmermann

[libvirt] [PATCH 0/2] Support for new watchdog model diag288 and action inject-nmi

2015-06-17 Thread Boris Fiuczynski
This patche set provides support for the new watchdog model diag288 including the new watchdog action inject-nmi. Boris Fiuczynski (2): Support for the new watchdog action inject-nmi Support for the new watchdog model diag288 docs/formatdomain.html.in| 5 +

[libvirt] [PATCH 2/2] Support for the new watchdog model diag288

2015-06-17 Thread Boris Fiuczynski
This patches provides support for the new watchdog model diag288. Signed-off-by: Boris Fiuczynski fiu...@linux.vnet.ibm.com Reviewed-by: Daniel Hansel daniel.han...@linux.vnet.ibm.com Reviewed-by: Stefan Zimmermann s...@linux.vnet.ibm.com Reviewed-by: Tony Krowiak akrow...@linux.vnet.ibm.com ---

[libvirt] [PATCH 3/3] libvirt.spec: Don't expect virt-admin in libvirt-admin yet

2015-06-17 Thread Michal Privoznik
While Martin introduced the binary (and its manpage) in commit 4e7ccf87133 it was pushed by mistake. Therefore it was reverted in 220393bfb043. The problem is, the original commit was not quite right as the binary was added into the spec file in a different commit: 55e0c840af. So as long as the

[libvirt] [PATCH 2/3] tests: Follow virnetserver to virnetdaemon transition

2015-06-17 Thread Michal Privoznik
In a4746114582 the virnetserver test was renamed to virnetdaemon. Moreover, as the test relies on some data stored under virnetserverdata/ the folder was renamed too. But this was not reflected in the Makefile. Therefore when building outside of the repository, the data folder was not distributed

[libvirt] [PATCH 1/3] daemon: Distribute admin_server.h

2015-06-17 Thread Michal Privoznik
The Admin API consists of a few files on daemon side. Notably daemon/admin_server.{ch}. While they are both on the repo, only the .c file is mentioned in Makefile. Therefore, .h is not distributed and 'make rpm' fails. Signed-off-by: Michal Privoznik mpriv...@redhat.com --- daemon/Makefile.am |

Re: [libvirt] [PATCH 0/5 v2] Corrections to SCSI logical unit handling

2015-06-17 Thread Boris Fiuczynski
On 06/17/2015 04:29 PM, Matthew Rosato wrote: On 06/16/2015 11:29 PM, Eric Farman wrote: While working with the hostdev tag and SCSI LUNs, a problem was discovered with the XML schema (see commit message in patch 4). This spawned some further corrections to the handling of the logical unit

[libvirt] [PATCH 1/3] parallels: add net dev statistiscs

2015-06-17 Thread Nikolay Shirokovskiy
Populate counters SDK currenly supports: rx_bytes rx_packets tx_bytes tx_packets Comments. 1. Use vzDomObjFromDomainRef/virDomainObjEndAPI pair to get domain object as we use prlsdkGetStatsParam that can release domain object lock and thus we need a reference in case domain is deleated

Re: [libvirt] PING: [PATCH v2 0/2] Allow PCI virtio on ARM virt machine

2015-06-17 Thread Cole Robinson
Sorry I was offline 12-16, I'll review this before end of the week - Cole On 06/16/2015 04:06 AM, Pavel Fedin wrote: Hello ? Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia -Original Message- From: libvir-list-boun...@redhat.com

Re: [libvirt] [PATCH 3/4] parallels: Switch on DHCP for newly created network adapters

2015-06-17 Thread Maxim Nestratov
17.06.2015 16:38, Laine Stump пишет: On 06/17/2015 08:35 AM, Mikhail Feoktistov wrote: Let network adapter use DHCP server to get network configuration. To do this we use PrlVmDevNet_SetConfigureWithDhcp to enable it and PrlVmDevNet_SetAutoApply to makes necessary settings within guest OS In

[libvirt] [PATCH 2/2] qemu: fix a document issue as we support host-passthrough with features

2015-06-17 Thread Luyao Huang
From the documentation :With this mode, the CPU visible to the guest should be exactly the same as the host CPU even in the aspects that libvirt does not understand. So this place document need fix. Signed-off-by: Luyao Huang lhu...@redhat.com --- src/qemu/qemu_process.c | 6 -- 1 file

[libvirt] [PATCHv1.5 1/2] cpu:x86: fix specified features will disappear after migrate/restore

2015-06-17 Thread Luyao Huang
https://bugzilla.redhat.com/show_bug.cgi?id=1207095 We allow set the feature with the host-passthrough cpu, but won't save them in the migration xml, the features we specified will disappear after migrate/restore. This is because we skip the virCPUDefUpdateFeature if cpu mode is host-passthrough.

[libvirt] [PATCH 0/3] parallels: add statistiscs

2015-06-17 Thread Nikolay Shirokovskiy
Add vz statistics for network, cpu and memory. src/vz/vz_driver.c | 133 +++- src/vz/vz_sdk.c| 69 ++- src/vz/vz_sdk.h|4 ++ -- libvir-list mailing list libvir-list@redhat.com

Re: [libvirt] [PATCH] libxl: rework reference counting

2015-06-17 Thread Anthony PERARD
On Tue, Jun 16, 2015 at 10:53:15AM +0100, Anthony PERARD wrote: On Mon, Jun 15, 2015 at 08:36:47PM -0600, Jim Fehlig wrote: Similar to commit 540c339a for the QEMU driver, rework reference counting in the libxl driver to make it more deterministic and the code a bit cleaner.

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Vasiliy Tolstov
2015-06-17 17:09 GMT+03:00 Andrey Korolyov and...@xdel.ru: The rest of visible memory is eaten by reserved kernel areas, for us this was a main reason to switch to a hotplug a couple of years ago. You would not be able to scale a VM by an order of magnitude with regular balloon mechanism

Re: [libvirt] [PATCH v4 0/9] Selective block device migration implementation

2015-06-17 Thread Kashyap Chamarthy
On Tue, Jun 16, 2015 at 01:42:02AM +0300, Pavel Boldin wrote: [. . .] Michal Privoznik (3): virDomainDiskGetSource: Mark passed disk as 'const' qemuMigrationBeginPhase: Fix function header indentation qemuMigrationDriveMirror: Force raw format for NBD Pavel Boldin (6): util:

[libvirt] [RFC] qemu: Redesigning guest CPU configuration

2015-06-17 Thread Jiri Denemark
Hi all (and sorry for the long email), The current way QEMU driver handles guest CPU configuration is not ideal. We detect host CPU capabilities only by querying the CPU and we don't check with QEMU what features it supports. We don't check QEMU's definitions of CPU models, which may be different

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Vasiliy Tolstov
2015-06-17 18:38 GMT+03:00 Andrey Korolyov and...@xdel.ru: Currently QEMU memory hotplug should work with 3.8 and onwards. Mentioned patches are an adaptation for an older frankenkernel of 3.8` functionality. This is band news =( i have debian wheezy that have old kernel... -- Vasiliy

[libvirt] [PATCH] daemon: only unref virNetServers once

2015-06-17 Thread Ján Tomko
After we add srv and srvAdm to the virNetDaemon, it's its responsibility to unref them in virNetDaemonDispose. Added by commits fa14207 and d5f4241. --- daemon/libvirtd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c index 368e10c..9e6c489 100644 ---

[libvirt] [PATCH] test: Refactor vcpu pinning and vcpu info retrieval

2015-06-17 Thread Peter Krempa
Drop internal data structures and use the proper fields in virDomainDef. This allows to greatly simplify the code and allows to remove the private data structure that was holding just redundant data. This patch also fixes the bogous output where we'd report that a fresh VM without vCPU pinning

[libvirt] [PATCH] remove redundant condition

2015-06-17 Thread Ján Tomko
If the address type is SPAPRVIO, it will match the != NONE condition. --- src/qemu/qemu_command.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 3886b4f..078ecf7 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@

[libvirt] [PATCH] qemu: check hostdev address type

2015-06-17 Thread Ján Tomko
For USB and SCSI hostdevs, we passed the invalid address to QEMU. Report an error earlier. PCI hostdevs check the address type when parsing the XML. https://bugzilla.redhat.com/show_bug.cgi?id=1225339 --- src/qemu/qemu_command.c | 13 - 1 file changed, 12 insertions(+), 1

[libvirt] [PATCH] daemon: Don't just include admin RPC

2015-06-17 Thread Michal Privoznik
So, it's a little paradox that we use the file twice. Firstly to build libvirt-admin.la (a client side of the Admin API), then once again to build the server side. Well, the problem is, this does not play nicely with the distclean since the file is generated. So while it's removed in the src/ the

[libvirt] [PATCH] tests: Sort EXTRA_DIST in the Makefile

2015-06-17 Thread Michal Privoznik
We tend to keep the folders in the EXTRA_DIST sorted alphabetically. However, we've failed sometimes and the list is not ordered anymore. Reorder it back. Signed-off-by: Michal Privoznik mpriv...@redhat.com --- tests/Makefile.am | 20 ++-- 1 file changed, 10 insertions(+), 10

Re: [libvirt] [Qemu-devel] incorrect memory size inside vm

2015-06-17 Thread Andrey Korolyov
On Wed, Jun 17, 2015 at 6:33 PM, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2015-06-17 17:09 GMT+03:00 Andrey Korolyov and...@xdel.ru: The rest of visible memory is eaten by reserved kernel areas, for us this was a main reason to switch to a hotplug a couple of years ago. You would not be able