From: Alexander Burluka
Add code, which can fill virDomainDef structure
by parallels sdk handle. prlsdkCreateDomainObj function
is an analogue of parallelsLoadDomain from parallels_driver.c.
Also use this new code in parallelsDomainGetXMLDesc to check
it and remove build error about unused funct
Implement functions, which change domain state with SDK.
We have to keep stored domains list up-to-date, so
update domain info after calling prlsdkDomain*.
When we remove cached domain list, we can remove
functions parallelsDomain*, because they will be
just calling corresponding functions from p
This patch series replaces a series of functions, which
retieve different domains info and modifies domains state
with new ones, which use parallels sdk instead of executing
prlctl command.
These functions don't use cached domains list
_parallelsConn.domains, so when we rewrite all code, we
will b
This macro will be used in paralles_sdk.c so move
it to common header.
Signed-off-by: Dmitry Guryanov
---
src/parallels/parallels_driver.c | 2 --
src/parallels/parallels_utils.h | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/parallels/parallels_driver.c b/src/parall
Implement functions parallelsDomainLookupByUUID and
parallelsDomainLookupByName with SDK instead of running prlctl
command.
Signed-off-by: Dmitry Guryanov
---
src/parallels/parallels_driver.c | 48 +--
src/parallels/parallels_sdk.c| 83
Use SDK to return a list of domains in
parallelsConnectListAllDomains function instead of prlctl.
Signed-off-by: Dmitry Guryanov
---
src/parallels/parallels_driver.c | 9 +-
src/parallels/parallels_sdk.c| 243 +++
src/parallels/parallels_sdk.h| 3 +
On 10/14/14 10:56, John Ferlan wrote:
>
>
> On 10/14/2014 03:29 AM, Peter Krempa wrote:
>> Use typecasted switch statement and note the type used to select the
>> address type in a comment.
>> ---
>> src/conf/domain_conf.c | 36
>> src/conf/domain_conf.h | 2
On 10/14/2014 03:29 AM, Peter Krempa wrote:
> To allow live modification of device backends in qemu libvirt needs to
> be able to hot-add/remove "objects". Add monitor backend functions to
> allow this.
Could add a short list of "known" objects that could make use of this...
IOThreads, RNG, etc.
On 10/14/2014 02:41 PM, Laine Stump wrote:
> I think you forgot to merge in your modifications from V1 - although the
> commit log is changed, the code is still the V1 patch :-)
Ah, I see that you sent the actual V2 patch last weekend, and only sent
this update to move the "changes from V1" messag
I think you forgot to merge in your modifications from V1 - although the
commit log is changed, the code is still the V1 patch :-)
On 10/13/2014 03:52 PM, akrow...@linux.vnet.ibm.com wrote:
> From: Tony Krowiak
>
> This patch provides the utility functions to needed to synchronize the
> changes
On Tue, Oct 14, 2014 at 01:59:15PM +0300, Itamar Heim wrote:
> On 10/14/2014 01:28 PM, Jan-Frode Myklebust wrote:
> >On Wed, Oct 08, 2014 at 09:49:35AM +0200, Jiri Denemark wrote:
> >>
> >>Technically you are correct and even QEMU added this feature to Westmere
> >>in April 2013. However, our goal
On 10/14/2014 03:29 AM, Peter Krempa wrote:
> Shove it to the top of the file so that it can be reused earlier.
> ---
> src/conf/domain_conf.c | 60
> +-
> 1 file changed, 30 insertions(+), 30 deletions(-)
>
Code motion
ACK
John
--
libvir-list
On 10/14/2014 03:29 AM, Peter Krempa wrote:
> To allow easy implementation of a callback check this patch adds empty
> post parse callbacks to drivers that were missing them.
> ---
> src/bhyve/bhyve_domain.c | 10 ++
> src/parallels/parallels_driver.c | 21 +
>
On 10/14/2014 01:28 PM, Jan-Frode Myklebust wrote:
On Wed, Oct 08, 2014 at 09:49:35AM +0200, Jiri Denemark wrote:
Technically you are correct and even QEMU added this feature to Westmere
in April 2013. However, our goal is to provide stable virtual hardware
that doesn't change when, e.g., a dom
On 10/14/2014 03:29 AM, Peter Krempa wrote:
> The JSON structure constructor has an option to add JSON arrays to the
> constructed object. The description is inaccurate as it can add any json
> object even a dict. Change the docs to cover this option and add
> possibility to specify NULL object t
On 10/14/2014 03:29 AM, Peter Krempa wrote:
> Our qemu monitor code has a converter from key-value pairs to a json
> value object. I want to re-use the code later and having it part of the
> monitor command generator is inflexible. Split it out into a separate
> helper.
> ---
> src/libvirt_priva
On Tue, Oct 14, 2014 at 12:03:59PM +0200, Cole Robinson wrote:
---
src/libvirt.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/libvirt.c b/src/libvirt.c
index caacc2e..dfca4f6 100644
--- a/src/libvirt.c
+++ b/src/libvirt.c
@@ -8760,6 +8760,10 @@ virDomainUndefine(virDomainPtr domain)
On Wed, Oct 08, 2014 at 09:49:35AM +0200, Jiri Denemark wrote:
>
> Technically you are correct and even QEMU added this feature to Westmere
> in April 2013. However, our goal is to provide stable virtual hardware
> that doesn't change when, e.g., a domain is migrated to another machine
> (let's ig
---
src/libvirt.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/libvirt.c b/src/libvirt.c
index caacc2e..dfca4f6 100644
--- a/src/libvirt.c
+++ b/src/libvirt.c
@@ -8760,6 +8760,10 @@ virDomainUndefine(virDomainPtr domain)
* whether this flag is present. On hypervisors where snapsh
On 10/14/2014 03:29 AM, Peter Krempa wrote:
> ---
> src/qemu/qemu_driver.c | 17 +++--
> 1 file changed, 15 insertions(+), 2 deletions(-)
>
ACK
John
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
On 10/14/2014 03:29 AM, Peter Krempa wrote:
> As in the device info iterator add a switch that will force the compiler
> to check that new device types are added to the ABI stability checker.
> ---
> src/conf/domain_conf.c | 33 +
> 1 file changed, 33 insertions(+
On 10/14/2014 03:29 AM, Peter Krempa wrote:
> Although the device will probably inhibit migration add checks to make
> sure that the configuration change gets caught.
> ---
> src/conf/domain_conf.c | 50
> ++
> 1 file changed, 50 insertions(+)
>
On 10/14/2014 03:29 AM, Peter Krempa wrote:
> Use typecasted switch statement and note the type used to select the
> address type in a comment.
> ---
> src/conf/domain_conf.c | 36
> src/conf/domain_conf.h | 2 +-
> 2 files changed, 25 insertions(+), 13 dele
Coverity complains...
On 09/19/2014 03:23 PM, Jim Fehlig wrote:
> From: Stefan Bader
>
> This started as an investigation into an issue where libvirt (using the
> libxl driver) and the Xen host, like an old couple, could not agree on
> who is responsible for selecting the VNC port to use.
>
> T
On 10/14/14 10:25, Ján Tomko wrote:
> On 10/14/2014 10:09 AM, Peter Krempa wrote:
>> Few places still used hardcoded limit for maximum XML size for commands
>> that accept XML files. The hardcoded limits ranged from 8k to 1M. Use
>> VSH_MAX_XML_FILE to express this limit in a unified way. This will
On 10/14/2014 10:09 AM, Peter Krempa wrote:
> Few places still used hardcoded limit for maximum XML size for commands
> that accept XML files. The hardcoded limits ranged from 8k to 1M. Use
> VSH_MAX_XML_FILE to express this limit in a unified way. This will bump
> the limit for the commands that u
Few places still used hardcoded limit for maximum XML size for commands
that accept XML files. The hardcoded limits ranged from 8k to 1M. Use
VSH_MAX_XML_FILE to express this limit in a unified way. This will bump
the limit for the commands that used hardcoded string lengths to 10M.
Resolves: http
ping
Tks,
John
On 10/06/2014 05:49 PM, John Ferlan wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1146837
>
> Rewrite the v1 patch to take a different method to attack the problem.
> Expose the getHostNumber from scsi check/startup/refresh in the form
> of virGetSCSIHostNumber. Additiona
ping?
Tks,
John
On 10/08/2014 08:08 PM, John Ferlan wrote:
> v2 is here:
>
> http://www.redhat.com/archives/libvir-list/2014-September/msg01575.html
>
> As Michal pointed out in his review - other devices could have the
> same issue - so take care of each of them separately (I already knew
> t
dommemstat and blkdeviotune's man page incorrectly stated the usage of
--live and --config.
---
Notes:
Pushed as trivial.
tools/virsh.pod | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/virsh.pod b/tools/virsh.pod
index eae9195..cc55821 100644
--- a/tools/virsh.
It's supported on aarch64 and armv7l as well, so just drop the restriction
entirely since it doesn't add much.
---
src/qemu/qemu_command.c | 8
1 file changed, 8 deletions(-)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 8cb0865..2872e47 100644
--- a/src/qemu/qemu_
The JSON structure constructor has an option to add JSON arrays to the
constructed object. The description is inaccurate as it can add any json
object even a dict. Change the docs to cover this option and add
possibility to specify NULL object to be added. These will be skipped as
we have with othe
Shove it to the top of the file so that it can be reused earlier.
---
src/conf/domain_conf.c | 60 +-
1 file changed, 30 insertions(+), 30 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 0634116..42c0223 100644
--- a/
Our qemu monitor code has a converter from key-value pairs to a json
value object. I want to re-use the code later and having it part of the
monitor command generator is inflexible. Split it out into a separate
helper.
---
src/libvirt_private.syms | 2 +
src/qemu/qemu_monitor_json.c | 161 +-
As in the device info iterator add a switch that will force the compiler
to check that new device types are added to the ABI stability checker.
---
src/conf/domain_conf.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/src/conf/domain_conf.c b/src/conf/domain
To allow easy implementation of a callback check this patch adds empty
post parse callbacks to drivers that were missing them.
---
src/bhyve/bhyve_domain.c | 10 ++
src/parallels/parallels_driver.c | 21 +
src/phyp/phyp_driver.c | 29 ++
Use typecasted switch statement and note the type used to select the
address type in a comment.
---
src/conf/domain_conf.c | 36
src/conf/domain_conf.h | 2 +-
2 files changed, 25 insertions(+), 13 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/d
Although the device will probably inhibit migration add checks to make
sure that the configuration change gets caught.
---
src/conf/domain_conf.c | 50 ++
1 file changed, 50 insertions(+)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
---
src/qemu/qemu_driver.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 7c9b1ab..e0fd4c0 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -6805,7 +6805,7 @@ qemuDomainAttachDeviceLive
To allow live modification of device backends in qemu libvirt needs to
be able to hot-add/remove "objects". Add monitor backend functions to
allow this.
---
src/qemu/qemu_monitor.c | 48 +
src/qemu/qemu_monitor.h | 8 +++
src/qemu/qemu_monitor_jso
I've split out these patches from my work on supporting memory hotplug in qemu
so that the resulting series is not extremely huge.
Peter Krempa (9):
conf: Improve adding of new address types
conf: shmem: Add ABI stability check
conf: Add compile time check that devices were checked for ABI
41 matches
Mail list logo