man: add virt-xml examples for changing startup policy and IO mode of disks

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
This commit is contained in:
Chen Hanxiao 2014-02-05 00:24:32 +08:00
parent d0001cff89
commit 163bcf4ff3
1 changed files with 4 additions and 0 deletions

View File

@ -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 'optional'.
# virt-xml fedora20 --edit target=hda --disk io=native,startup_policy=optional
Change all host devices to use driver_name=vfio for VM 'fedora20' on the remote connection
# virt-xml --connect qemu+ssh://remotehost/system \