Put exactly one API into one patch.
Add a test case to test with vboxUniformedAPI.
Taowei (29):
vbox: Begin to rewrite, vboxConnectOpen
vbox: Add test case for vboxUniformedAPI
vbox: Rewrite vboxConnectClose
vbox: Rewrite vboxDomainSave
vbox: Rewrite vboxConnectGetVersion
vbox: Rewrite
---
src/vbox/vbox_common.c| 28
src/vbox/vbox_tmpl.c | 28
src/vbox/vbox_uniformed_api.h |2 ++
3 files changed, 30 insertions(+), 28 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index
Introduce vbox_uniformed_api to deal with
version conflicts.
vboxConnectOpen has been rewritten.
---
po/POTFILES.in|1 +
src/Makefile.am |4 +-
src/vbox/vbox_common.c| 289
src/vbox/vbox_common.h| 132 +++
---
src/vbox/vbox_common.c| 47 +
src/vbox/vbox_tmpl.c | 66 -
src/vbox/vbox_uniformed_api.h |3 ++
3 files changed, 63 insertions(+), 53 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_c
---
src/vbox/vbox_common.c| 42 ++
src/vbox/vbox_tmpl.c | 80 +
src/vbox/vbox_uniformed_api.h | 22
3 files changed, 105 insertions(+), 39 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vb
---
src/vbox/vbox_common.c| 44
src/vbox/vbox_tmpl.c | 56 ++---
src/vbox/vbox_uniformed_api.h |2 ++
3 files changed, 53 insertions(+), 49 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbo
---
src/vbox/vbox_common.c| 47 +
src/vbox/vbox_tmpl.c | 65 +
src/vbox/vbox_uniformed_api.h |3 ++
3 files changed, 63 insertions(+), 52 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_c
---
src/vbox/vbox_common.c|5 +
src/vbox/vbox_tmpl.c |6 --
src/vbox/vbox_uniformed_api.h |1 +
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index 3edadce..2588379 100644
--- a/src/vbox/vbox_comm
---
src/vbox/vbox_common.c|5 +
src/vbox/vbox_tmpl.c |5 -
src/vbox/vbox_uniformed_api.h |1 +
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index 188b878..f380c78 100644
--- a/src/vbox/vbox_commo
vboxIIDUnion is introduced in this patch to fixup
vboxIID conflictions.
---
src/vbox/vbox_common.c| 95 +++
src/vbox/vbox_common.h| 40 +
src/vbox/vbox_tmpl.c | 346 +++--
src/vbox/vbox_uniformed_api.h | 82 ++
---
src/vbox/vbox_common.c|6 ++
src/vbox/vbox_tmpl.c |6 --
src/vbox/vbox_uniformed_api.h |1 +
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index cdc3664..188b878 100644
--- a/src/vbox/vbox_com
---
src/vbox/vbox_common.c| 19 +++
src/vbox/vbox_tmpl.c | 26 --
src/vbox/vbox_uniformed_api.h |1 +
3 files changed, 20 insertions(+), 26 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index 602a468..3ac
---
src/vbox/vbox_common.c| 73
src/vbox/vbox_tmpl.c | 82 +++--
src/vbox/vbox_uniformed_api.h |3 ++
3 files changed, 90 insertions(+), 68 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox
The test case will make sure each API will filled
with something. So we will not to define an API,
use it, yet forgot to implement.
---
tests/Makefile.am|9 +++-
tests/vboxuniformedapitest.c | 98 ++
2 files changed, 105 insertions(+), 2 de
---
src/vbox/vbox_common.c|6 ++
src/vbox/vbox_tmpl.c |6 --
src/vbox/vbox_uniformed_api.h |1 +
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index 2588379..cdc3664 100644
--- a/src/vbox/vbox_com
---
src/vbox/vbox_common.c| 22 ++
src/vbox/vbox_tmpl.c | 13 -
src/vbox/vbox_uniformed_api.h |1 +
3 files changed, 23 insertions(+), 13 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index a74a1de..3edadce 10064
---
src/vbox/vbox_common.c| 11 +++
src/vbox/vbox_tmpl.c | 29 -
src/vbox/vbox_uniformed_api.h |1 +
3 files changed, 12 insertions(+), 29 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index 8fb4494..2e23d62
---
src/vbox/vbox_common.c| 11 +++
src/vbox/vbox_tmpl.c | 16 ++--
src/vbox/vbox_uniformed_api.h |1 +
3 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index 1c67eea..ed6597c 100644
--- a/
---
src/vbox/vbox_common.c| 70
src/vbox/vbox_tmpl.c | 71 -
src/vbox/vbox_uniformed_api.h |2 ++
3 files changed, 72 insertions(+), 71 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/
---
src/vbox/vbox_common.c| 19 +++
src/vbox/vbox_tmpl.c | 25 -
src/vbox/vbox_uniformed_api.h |1 +
3 files changed, 20 insertions(+), 25 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index 3aca1b8..cc25
---
src/vbox/vbox_common.c| 48 +
src/vbox/vbox_tmpl.c | 67 -
src/vbox/vbox_uniformed_api.h |3 ++
3 files changed, 64 insertions(+), 54 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_c
---
src/vbox/vbox_common.c| 35 +++
src/vbox/vbox_tmpl.c | 36
src/vbox/vbox_uniformed_api.h |1 +
3 files changed, 36 insertions(+), 36 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_c
---
src/vbox/vbox_common.c| 24 +++
src/vbox/vbox_common.h|1 +
src/vbox/vbox_tmpl.c | 42 ++---
src/vbox/vbox_uniformed_api.h |8
4 files changed, 51 insertions(+), 24 deletions(-)
diff --git a/
---
src/vbox/vbox_common.c|5 +
src/vbox/vbox_tmpl.c |6 --
src/vbox/vbox_uniformed_api.h |1 +
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index cc4328e..98d7c8a 100644
--- a/src/vbox/vbox_comm
---
src/vbox/vbox_common.c| 66
src/vbox/vbox_tmpl.c | 67 -
src/vbox/vbox_uniformed_api.h |1 +
3 files changed, 67 insertions(+), 67 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/v
---
src/vbox/vbox_common.c| 67
src/vbox/vbox_tmpl.c | 356 +
src/vbox/vbox_uniformed_api.h |8 +
3 files changed, 255 insertions(+), 176 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index 899351
---
src/vbox/vbox_common.c| 219
src/vbox/vbox_tmpl.c | 274 +++--
src/vbox/vbox_uniformed_api.h |8 ++
3 files changed, 269 insertions(+), 232 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/v
---
src/vbox/vbox_common.c|5 +
src/vbox/vbox_tmpl.c |7 ---
src/vbox/vbox_uniformed_api.h |1 +
3 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src/vbox/vbox_common.c
index c5b6c4e..4861d52 100644
--- a/src/vbox/vbox_com
---
src/vbox/vbox_common.c| 73 +
src/vbox/vbox_tmpl.c | 73 -
src/vbox/vbox_uniformed_api.h |2 ++
3 files changed, 75 insertions(+), 73 deletions(-)
diff --git a/src/vbox/vbox_common.c b/src
libvirt supports pci domain already, so update the documentation.
Otherwise users who lookup the documentation for how to use hostdev may
miss the domain and encounter error when pass-through a pci device in a
domain other than 0.
Signed-off-by: Hu Tao
---
docs/formatdomain.html.in | 4 ++--
1 f
---
src/lxc/lxc_native.c | 25 ++
tests/lxcconf2xmldata/lxcconf2xml-blkiotune.xml| 2 ++
tests/lxcconf2xmldata/lxcconf2xml-cpusettune.xml | 2 ++
tests/lxcconf2xmldata/lxcconf2xml-cputune.xml | 2 ++
tests/lxcconf2xmldata/lxcconf2xml-
Hi all,
Even though the v3 has been ACKed (but not pushed), I rebased it on top of
master before pushing it and did a few changes that are worth checking before.
* Path 1 (feature) and 3 (doc) of the previous version merge merged together as
suggested for another similar series.
* virCgroup
Added in the section of LXC domains
configuration. This section can contain elements named after the
capabilities like:
, keep CAP_MKNOD capability
drop CAP_SYS_CHROOT capability
Users can restrict or give more capabilities than the default using
this mechanism.
---
docs/drvlxc.html.in
On Thu, Jul 17, 2014 at 09:12:31 -0600, Eric Blake wrote:
> On 07/17/2014 08:22 AM, Jiri Denemark wrote:
> > Decisions whether qemu driver and libvirt-daemon-{qemu,kvm} packages
> > should be built on various OS/arch combinations were scattered around
> > the spec file. Let's make it easier to see
> -Original Message-
> From: libvir-list-boun...@redhat.com [mailto:libvir-list-boun...@redhat.com]
> On Behalf Of Cédric Bosdonnat
> Sent: Friday, July 18, 2014 4:02 PM
> To: libvir-list@redhat.com
> Cc: Cédric Bosdonnat
> Subject: [libvirt] [PATCHv4 1/2] lxc: allow to keep or drop capab
There's this question on the list that is asked over and over again.
How do I get {cpu, memory, ...} usage in percentage? Or its modified
version: How do I plot nice graphs like virt-manager does?
It would be nice if we have an example to inspire people. And that's
what domtop should do. Yes, it c
As with the local SCSI passthrough devicesm qemu can't support snapshots
on those as the block ops are handled by the device. This is also true
for iSCSI backing of the disk. Remove the check for the local block
device and just forbid snapshot when the disk is of type 'lun'.
Resolves: https://bugz
Libvirt didn't catch an attempt to do a snapshot of a SCSI passthrough disk
when backed by iSCSI and the docs didn't state that disk type 'lun' works also
with iSCSI.
Peter Krempa (2):
doc: domain: Clarify that disk type 'lun' works with iSCSI too
qemu: snapshot: Forbid snapshots of iSCSI pass
Disk type 'lun' enables SCSI command passthrough for a disk. We stated
that it works only with "block" disks. Qemu supports it also when using
the iSCSI protocol.
---
docs/formatdomain.html.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/formatdomain.html.in b/docs/fo
> -Original Message-
> From: libvir-list-boun...@redhat.com [mailto:libvir-list-boun...@redhat.com]
> On Behalf Of Cédric Bosdonnat
> Sent: Friday, July 18, 2014 4:03 PM
> To: libvir-list@redhat.com
> Cc: Cédric Bosdonnat
> Subject: [libvirt] [PATCHv4 2/2] lxc domain from xml: convert lxc
On 17.07.2014 11:28, Daniel P. Berrange wrote:
> On Thu, Jul 17, 2014 at 11:12:05AM +0200, Michal Privoznik wrote:
>> diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
>> index 33541d3..7d99435 100644
>> --- a/src/qemu/qemu_driver.c
>> +++ b/src/qemu/qemu_driver.c
>> @@ -16849,17 +16849,
libvirt support vhost-scsi controller. The way to config
the vhost-scsi controller is edit the xml file, Format is
as follows:
the tag of "wwpn" is necessary, the 'model' must be 'vhost-scsi'
'event_idx' is optional.
Signed-off-by: Zhang Min
---
src/conf/domain_conf.c | 64 ++
On Thu, Jul 17, 2014 at 10:02:45PM +0400, Roman Bogorodskiy wrote:
Eric Blake wrote:
On 07/17/2014 10:57 AM, Roman Bogorodskiy wrote:
> Roman Bogorodskiy wrote:
>
>> Looks like this breaks build with clang:
>>
>> gmake[3]: Entering directory `/usr/home/novel/code/libvirt/src'
>> CC
On Tue, Jun 3, 2014 at 10:16 AM, Christophe Fergeau wrote:
> We were only passing libvirt-gobject-domain.h and
> libvirt-gobject-connection.h through glib-mkenums, which causes it to
> only generate GEnum information for enums found in these headers.
> We want to do that for all enums defined in i
On 14.07.2014 16:12, Paolo Bonzini wrote:
Il 14/07/2014 11:27, Daniel P. Berrange ha scritto:
-drive file=img_1,if=pflash,format=raw,readonly \
-drive file=img_2,if=pflash,format=raw
It's safer to add ",unit=0" and ",unit=1" too.
We already use for specifying alternative BIOS bl
Il 18/07/2014 15:01, Michal Privoznik ha scritto:
> On 14.07.2014 16:12, Paolo Bonzini wrote:
>> Il 14/07/2014 11:27, Daniel P. Berrange ha scritto:
>>> -drive file=img_1,if=pflash,format=raw,readonly \
>>> -drive file=img_2,if=pflash,format=raw
>>
>> It's safer to add ",unit=0" and ",u
On 07/18/2014 03:22 AM, Peter Krempa wrote:
> Disk type 'lun' enables SCSI command passthrough for a disk. We stated
> that it works only with "block" disks. Qemu supports it also when using
> the iSCSI protocol.
> ---
> docs/formatdomain.html.in | 3 ++-
> 1 file changed, 2 insertions(+), 1 delet
On 07/18/2014 03:22 AM, Peter Krempa wrote:
> As with the local SCSI passthrough devicesm qemu can't support snapshots
> on those as the block ops are handled by the device. This is also true
> for iSCSI backing of the disk. Remove the check for the local block
> device and just forbid snapshot whe
On 07/18/2014 01:59 AM, Hu Tao wrote:
> libvirt supports pci domain already, so update the documentation.
> Otherwise users who lookup the documentation for how to use hostdev may
> miss the domain and encounter error when pass-through a pci device in a
> domain other than 0.
>
> Signed-off-by: Hu
On 07/17/2014 10:49 PM, Jincheng Miao wrote:
> Implement InitInternal functions for Mutex, RWLock and Cond, these functions
> contain error report using virReportSystemErrorFull, it is controlled by
> an argument 'quite'.
s/quite/quiet/
> The related macros are Init and InitQuite, they call InitI
On 07/17/2014 10:49 PM, Jincheng Miao wrote:
> Implement InitInternal functions for Mutex, RWLock and Cond, these functions
> contain error report using virReportSystemErrorFull, it is controlled by
> an argument 'quite'.
> The related macros are Init and InitQuite, they call InitInternal function
On 07/18/2014 03:08 AM, Michal Privoznik wrote:
> There's this question on the list that is asked over and over again.
> How do I get {cpu, memory, ...} usage in percentage? Or its modified
> version: How do I plot nice graphs like virt-manager does?
>
> It would be nice if we have an example to i
On 08.07.2014 13:54, John Ferlan wrote:
Rather than supplying the path again in the formatting of the sysfs
scsi_host directory.
Signed-off-by: John Ferlan
---
src/storage/storage_backend_scsi.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/storage/storage_bac
On 08.07.2014 13:54, John Ferlan wrote:
Reposting of a series from last month changing only the span version
in the docs from 1.2.6 to 1.2.7. Previous posting here:
http://www.redhat.com/archives/libvir-list/2014-June/msg00448.html
The concept still remains the same - rather than rely on the
On 08.07.2014 13:54, John Ferlan wrote:
Introduce a new function to read the current scsi_host entry and return
the value found in the 'unique_id' file.
Add a 'scsihosttest' test (similar to the fchosttest, but incorporating some
of the concepts of the mocked pci test library) in order to read t
On 08.07.2014 13:54, John Ferlan wrote:
Rather than assume that NOT FC_HOST is SCSI_HOST, let's call them out
specifically. Makes it easier to find SCSI_HOST code/structs and ensures
something isn't missed in the future
Signed-off-by: John Ferlan
---
src/storage/storage_backend_scsi.c | 21 ++
On 18.07.2014 15:48, Eric Blake wrote:
On 07/18/2014 03:08 AM, Michal Privoznik wrote:
There's this question on the list that is asked over and over again.
How do I get {cpu, memory, ...} usage in percentage? Or its modified
version: How do I plot nice graphs like virt-manager does?
It would be
On 07/18/14 15:24, Eric Blake wrote:
> On 07/18/2014 03:22 AM, Peter Krempa wrote:
>> As with the local SCSI passthrough devicesm qemu can't support snapshots
>> on those as the block ops are handled by the device. This is also true
>> for iSCSI backing of the disk. Remove the check for the local b
Convert the target snapshot state selector to a switch statement
enumerating all possible values. This points out a few mistakes in the
original selector.
The logic of the code is preserved until later patches.
---
src/qemu/qemu_driver.c | 22 --
1 file changed, 16 insertions(
Unfortunately qemu behaves strangely so it probably can't be fully verified :/
Peter Krempa (7):
event: Add transition reason for PMSUSPENDED state from snapshot ops
lib: Add reason for a domain reaching the PMSUSPENDED state
qemu: snapshot: Convert if-else switch to switch statement
qemu:
Report errors on some states snapshots done by qemu should never reach
---
src/qemu/qemu_driver.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 7ab0f81..2d58b53 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qe
When libvirt reverts a snapshot in the PMSUSPENDED state we need to
record how it entered this state. Add the "from snapshot" reason.
---
include/libvirt/libvirt.h.in | 3 +++
src/conf/domain_conf.c | 3 ++-
tools/virsh-domain-monitor.c | 3 ++-
3 files changed, 7 insertions(+), 2 deletions(
The internal snapshot revert code used a very unintuitive approach to
create lifecycle events while doing the revert. Refactor the code to use
the new automagic function to do the revertion.
---
src/qemu/qemu_driver.c | 76 +-
1 file changed, 13 inse
Add helper that will generate domain lifecycle events regarding to
snapshot revert operations and use it in a demonstration case in the
code.
The helper will be later used in internal snaphsot revert refactor more
widely.
---
src/qemu/qemu_driver.c | 142 ++
Add event reason to support transitions to PM suspended state from
snapshot revert operations.
---
examples/object-events/event-test.c | 3 +++
include/libvirt/libvirt.h.in| 3 +++
tools/virsh-domain.c| 3 ++-
3 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ex
PMSUSPENDED state implies the qemu process running, so we should treat
it that way. This increases the possible state space of transitions that
may happen during the snapshot revert so this patch documents them as
well.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1079162
---
src/qemu/qe
Ján Tomko wrote:
> On 06/29/2014 06:06 PM, Roman Bogorodskiy wrote:
> > Try to reconnect to the running domains after libvirtd restart. To
> > achieve that, do:
...
> > @@ -1207,9 +1218,16 @@ bhyveStateInitialize(bool priveleged
> > ATTRIBUTE_UNUSED,
> >
From: Peter Robinson
Covers the whole ppc64 family. Example bug for binutils:
https://bugzilla.redhat.com/show_bug.cgi?id=834651
---
libvirt.spec.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index 76e57aa..cac7d99 100644
--- a/lib
From: Peter Robinson
---
libvirt.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index cac7d99..424b6e2 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -69,7 +69,7 @@
%define qemu_kvm_arches %{ix86} x86_64 %{power64} s3
FWIW I sent patches to libvir-list for the power64 macro change and the
aarch64 change.
On 07/15/2014 07:29 PM, Eric Blake wrote:
> On 07/15/2014 04:29 PM, Peter Robinson wrote:
>>> Doing an out-of-the-box build on RHEL 5 is the oldest configuration
>>> still actively (if marginally) supported, id
Commit 5028160 accidentally weakened the strtol prohibitions to
skip ALL files under src/util instead of the former situation of
just protecting util/virsexpr.c; even though NONE of the files
in that directory need any protection.
Shorten some long lines while at it.
* cfg.mk (exclude_file_name_r
On 07/18/2014 11:28 AM, Cole Robinson wrote:
> From: Peter Robinson
>
> Covers the whole ppc64 family. Example bug for binutils:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=834651
> ---
> libvirt.spec.in | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/libvirt
On 07/18/2014 11:28 AM, Cole Robinson wrote:
> From: Peter Robinson
>
> ---
> libvirt.spec.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
ACK.
>
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index cac7d99..424b6e2 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -6
On 07/18/2014 04:05 PM, Eric Blake wrote:
> On 07/18/2014 11:28 AM, Cole Robinson wrote:
>> From: Peter Robinson
>>
>> ---
>> libvirt.spec.in | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> ACK.
Spoke too soon:
>
>>
>> diff --git a/libvirt.spec.in b/libvirt.spec.in
>> index cac7d
On 07/18/2014 10:11 AM, Peter Krempa wrote:
> Add event reason to support transitions to PM suspended state from
> snapshot revert operations.
> ---
> examples/object-events/event-test.c | 3 +++
> include/libvirt/libvirt.h.in| 3 +++
> tools/virsh-domain.c| 3 ++-
> 3 file
On 07/18/2014 10:11 AM, Peter Krempa wrote:
> When libvirt reverts a snapshot in the PMSUSPENDED state we need to
> record how it entered this state. Add the "from snapshot" reason.
> ---
> include/libvirt/libvirt.h.in | 3 +++
> src/conf/domain_conf.c | 3 ++-
> tools/virsh-domain-monitor.c
On 07/18/2014 10:11 AM, Peter Krempa wrote:
> Convert the target snapshot state selector to a switch statement
> enumerating all possible values. This points out a few mistakes in the
> original selector.
>
> The logic of the code is preserved until later patches.
> ---
> src/qemu/qemu_driver.c |
On 07/18/2014 10:11 AM, Peter Krempa wrote:
> Report errors on some states snapshots done by qemu should never reach
> ---
> src/qemu/qemu_driver.c | 12 +---
> 1 file changed, 9 insertions(+), 3 deletions(-)
>
> +
> +case VIR_DOMAIN_NOSTATE:
> +case VIR_DOMAIN_BLOCKED:
> +ca
On 07/18/2014 10:11 AM, Peter Krempa wrote:
> PMSUSPENDED state implies the qemu process running, so we should treat
> it that way. This increases the possible state space of transitions that
> may happen during the snapshot revert so this patch documents them as
> well.
>
> Resolves: https://bugz
libvirt support vhost-scsi controller. The way to config
the vhost-scsi controller is edit the xml file, Format is
as follows:
the tag of "wwpn" is necessary, the 'model' must be 'vhost-scsi'
'event_idx' is optional.
Signed-off-by: Zhang Min
---
src/conf/domain_conf.c | 64 ++
80 matches
Mail list logo