|
|
7a3408 |
From 1a3e9b5e8b750025aa2c51ae5dd1cd2f98278340 Mon Sep 17 00:00:00 2001
|
|
|
7a3408 |
Message-Id: <1a3e9b5e8b750025aa2c51ae5dd1cd2f98278340@dist-git>
|
|
|
7a3408 |
From: Peter Krempa <pkrempa@redhat.com>
|
|
|
7a3408 |
Date: Tue, 22 Sep 2015 16:59:40 +0200
|
|
|
7a3408 |
Subject: [PATCH] conf: Document all VIR_DOMAIN_DEF_PARSE_* flags
|
|
|
7a3408 |
|
|
|
7a3408 |
https://bugzilla.redhat.com/show_bug.cgi?id=1252685
|
|
|
7a3408 |
|
|
|
7a3408 |
(cherry picked from commit 24e3b0eda1373608c1c4f1176530d324418ae82b)
|
|
|
7a3408 |
|
|
|
7a3408 |
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
|
|
|
7a3408 |
---
|
|
|
7a3408 |
src/conf/domain_conf.h | 10 ++++++++--
|
|
|
7a3408 |
1 file changed, 8 insertions(+), 2 deletions(-)
|
|
|
7a3408 |
|
|
|
7a3408 |
diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
|
|
|
7a3408 |
index e0102db..63685c6 100644
|
|
|
7a3408 |
--- a/src/conf/domain_conf.h
|
|
|
7a3408 |
+++ b/src/conf/domain_conf.h
|
|
|
7a3408 |
@@ -2593,19 +2593,25 @@ void virDomainObjListRemoveLocked(virDomainObjListPtr doms,
|
|
|
7a3408 |
typedef enum {
|
|
|
7a3408 |
/* parse internal domain status information */
|
|
|
7a3408 |
VIR_DOMAIN_DEF_PARSE_STATUS = 1 << 0,
|
|
|
7a3408 |
+ /* Parse only parts of the XML that would be present in an inactive libvirt
|
|
|
7a3408 |
+ * XML. Note that the flag does not imply that ABI incompatible
|
|
|
7a3408 |
+ * transformations can be used, since it's used to strip runtime info when
|
|
|
7a3408 |
+ * restoring save images/migration. */
|
|
|
7a3408 |
VIR_DOMAIN_DEF_PARSE_INACTIVE = 1 << 1,
|
|
|
7a3408 |
/* parse <actual> element */
|
|
|
7a3408 |
VIR_DOMAIN_DEF_PARSE_ACTUAL_NET = 1 << 2,
|
|
|
7a3408 |
/* parse original states of host PCI device */
|
|
|
7a3408 |
VIR_DOMAIN_DEF_PARSE_PCI_ORIG_STATES = 1 << 3,
|
|
|
7a3408 |
+ /* internal flag passed to device info sub-parser to allow using <rom> */
|
|
|
7a3408 |
VIR_DOMAIN_DEF_PARSE_ALLOW_ROM = 1 << 4,
|
|
|
7a3408 |
+ /* internal flag passed to device info sub-parser to allow specifying boot order */
|
|
|
7a3408 |
VIR_DOMAIN_DEF_PARSE_ALLOW_BOOT = 1 << 5,
|
|
|
7a3408 |
/* parse only source half of <disk> */
|
|
|
7a3408 |
VIR_DOMAIN_DEF_PARSE_DISK_SOURCE = 1 << 6,
|
|
|
7a3408 |
+ /* perform RNG schema validation on the passed XML document */
|
|
|
7a3408 |
VIR_DOMAIN_DEF_PARSE_VALIDATE = 1 << 7,
|
|
|
7a3408 |
/* don't validate os.type and arch against capabilities. Prevents
|
|
|
7a3408 |
- * VMs from disappearing when qemu is removed and libvirtd is restarted
|
|
|
7a3408 |
- */
|
|
|
7a3408 |
+ * VMs from disappearing when qemu is removed and libvirtd is restarted */
|
|
|
7a3408 |
VIR_DOMAIN_DEF_PARSE_SKIP_OSTYPE_CHECKS = 1 << 8,
|
|
|
7a3408 |
} virDomainDefParseFlags;
|
|
|
7a3408 |
|
|
|
7a3408 |
--
|
|
|
7a3408 |
2.5.3
|
|
|
7a3408 |
|