virt-xml: Make it more clear when changes take effect
shutdown could be interpreted as a soft reboot, which won't apply the changes
This commit is contained in:
parent
bd891eb380
commit
46ec093a28
|
@ -10,4 +10,4 @@
|
|||
</domain>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -10,4 +10,4 @@
|
|||
</domain>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -10,4 +10,4 @@
|
|||
</domain>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -12,4 +12,4 @@
|
|||
</domain>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -7,4 +7,4 @@
|
|||
</domain>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -14,4 +14,4 @@
|
|||
<source mode="connect" host="localhost" service="4000"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -1,2 +1,2 @@
|
|||
Domain 'test' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -12,4 +12,4 @@
|
|||
<on_crash>destroy</on_crash>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -30,4 +30,4 @@
|
|||
<timer name="pit" tickpolicy="delay"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -12,4 +12,4 @@
|
|||
<source file="/tmp/foobar"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -10,4 +10,4 @@
|
|||
<sound model="es1370"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -11,4 +11,4 @@
|
|||
<sound model="es1370"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
<source>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
</video>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -10,4 +10,4 @@
|
|||
<controller type="scsi" index="1"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
<read_bytes_sec>5242880</read_bytes_sec>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
<address type="ccid" controller="0" slot="0"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
</video>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -13,4 +13,4 @@
|
|||
<memoryBacking>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -10,4 +10,4 @@
|
|||
<uid start="0" target="1000" count="10"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
</channel>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -14,4 +14,4 @@
|
|||
<on_reboot>restart</on_reboot>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
<target type="virtio" port="1"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
<controller type="scsi" index="3"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -19,4 +19,4 @@
|
|||
<timer name="rtc" tickpolicy="catchup"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -7,4 +7,4 @@
|
|||
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -12,4 +12,4 @@
|
|||
<source file="/tmp/foobar"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
</pm>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -12,4 +12,4 @@
|
|||
</hyperv>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -13,4 +13,4 @@
|
|||
<mac address="22:22:33:54:32:10"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
<sound model="sb16"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -7,4 +7,4 @@
|
|||
<source>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -10,4 +10,4 @@
|
|||
<acpi/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
<backend model="egd" type="tcp">
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -21,4 +21,4 @@
|
|||
<memory mode="interleave" placement="auto"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -19,4 +19,4 @@
|
|||
</domain>
|
||||
|
||||
Domain 'foo-my-new-name' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -14,4 +14,4 @@
|
|||
<mac address="22:00:00:44:aa:bf"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
<type arch="i686">hvm</type>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -10,4 +10,4 @@
|
|||
<console type="null">
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -9,4 +9,4 @@
|
|||
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -14,4 +14,4 @@
|
|||
</domain>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -10,4 +10,4 @@
|
|||
<watchdog model="ib700" action="poweroff"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
<protocol type="raw"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
</domain>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
<parallel type="file">
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
<serial type="null">
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
<video>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
<graphics type="vnc" port="-1" autoport="yes">
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -16,4 +16,4 @@
|
|||
<timer name="rtc" tickpolicy="catchup"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
<model type="cirrus" vram="16384" heads="3"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
<rate bytes="1234" period="2000"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -10,4 +10,4 @@
|
|||
<model type="cirrus" vram="16384" heads="3"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -8,4 +8,4 @@
|
|||
</domain>
|
||||
|
||||
Define 'test' with the changed XML? (y/n): Domain 'test' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -16,4 +16,4 @@
|
|||
<controller type="scsi" index="1"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -12,4 +12,4 @@
|
|||
<target dev="hda" bus="ide"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -12,4 +12,4 @@
|
|||
<address domain="0x0000" bus="0x00" slot="0x19" function="0x0"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -7,4 +7,4 @@
|
|||
</video>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
|
@ -12,4 +12,4 @@
|
|||
<vendor id="0x04b3"/>
|
||||
|
||||
Domain 'test-for-virtxml' defined successfully.
|
||||
Changes will take effect after the next domain shutdown.
|
||||
Changes will take effect after the domain is fully powered off.
|
2
virt-xml
2
virt-xml
|
@ -439,7 +439,7 @@ def main(conn=None):
|
|||
devs, action, options.confirm)
|
||||
if not options.update and active_xmlobj and applied:
|
||||
print_stdout(
|
||||
_("Changes will take effect after the next domain shutdown."))
|
||||
_("Changes will take effect after the domain is fully powered off."))
|
||||
if not options.update and not options.define:
|
||||
prepare_changes(inactive_xmlobj, options, parserclass)
|
||||
|
||||
|
|
Loading…
Reference in New Issue