[virt-tools-list] [virt-manager PATCH] man: add virt-xml examples for changing startup policy and IO mode of disks

Chen Hanxiao chen_han_xiao at 126.com
Tue Feb 4 15:45:29 UTC 2014


From: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>


Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
---
 man/virt-xml.pod | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/man/virt-xml.pod b/man/virt-xml.pod
index 9a488b4..44a4069 100644
--- a/man/virt-xml.pod
+++ b/man/virt-xml.pod
@@ -292,6 +292,10 @@ Change all disk devices of type 'disk' to use cache=none, using XML from stdin,
 
   # cat <xmlfile> | virt-xml --edit device=disk --disk cache=none
 
+Change disk 'hda' IO to native and use startup policy as 'mandatory'.
+
+  # virt-xml fedora20 --edit target=hda --disk io=native,startup_policy=mandatory
+
 Change all host devices to use driver_name=vfio for VM 'fedora20' on the remote connection
 
   # virt-xml --connect qemu+ssh://remotehost/system \
-- 
1.8.4.2





More information about the virt-tools-list mailing list