[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 16:26:14 UTC 2014



On 02/05/2014 12:04 AM, Cole Robinson wrote:
> On 02/04/2014 10:45 AM, Chen Hanxiao wrote:
>> 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 \
>>
>
> mandatory is the default value, why not optional or requisite instead?
>
> ACK otherwise, feel free to just push with that change.
>

Oops, let it be 'optional'.

pushed!




More information about the virt-tools-list mailing list