mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-23 17:34:21 +03:00
details: Persistent changes require a guest shutdown, not reboot
Since reboot may be interpreted as a reboot from inside the guest, which won't help us.
This commit is contained in:
parent
32b2eef8f8
commit
6a861acd3b
@ -1037,7 +1037,7 @@ class vmmAddHardware(vmmGObjectUI):
|
||||
text2=(
|
||||
_("This device could not be attached to the running machine. "
|
||||
"Would you like to make the device available after the "
|
||||
"next VM shutdown?")),
|
||||
"next guest shutdown?")),
|
||||
dialog_type=gtk.MESSAGE_WARNING,
|
||||
buttons=gtk.BUTTONS_YES_NO,
|
||||
async=False)
|
||||
|
@ -2156,7 +2156,8 @@ class vmmDetails(vmmGObjectUI):
|
||||
self.err.show_err(
|
||||
_("Device could not be removed from the running machine"),
|
||||
details=(detach_err[0] + "\n\n" + detach_err[1]),
|
||||
text2=_("This change will take effect after the next VM reboot."),
|
||||
text2=_("This change will take effect after the next guest "
|
||||
"shutdown."),
|
||||
buttons=gtk.BUTTONS_OK,
|
||||
dialog_type=gtk.MESSAGE_INFO)
|
||||
|
||||
@ -2219,11 +2220,11 @@ class vmmDetails(vmmGObjectUI):
|
||||
if (hotplug_err or
|
||||
(active and not len(hotplug_funcs) == len(define_funcs))):
|
||||
if len(define_funcs) > 1:
|
||||
msg = _("Some changes may require a guest reboot "
|
||||
msg = _("Some changes may require a guest shutdown "
|
||||
"to take effect.")
|
||||
else:
|
||||
msg = _("These changes will take effect after "
|
||||
"the next guest reboot.")
|
||||
"the next guest shutdown.")
|
||||
|
||||
dtype = hotplug_err and gtk.MESSAGE_WARNING or gtk.MESSAGE_INFO
|
||||
hotplug_msg = ""
|
||||
|
Loading…
Reference in New Issue
Block a user