Bug 1130364 - The guest will be paused for a while even fail to dump the guest's memory
Summary: The guest will be paused for a while even fail to dump the guest's memory
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.6
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Libvirt Maintainers
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1130359
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-15 03:28 UTC by zhenfeng wang
Modified: 2014-08-15 09:08 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1130359
Environment:
Last Closed: 2014-08-15 08:30:46 UTC
Target Upstream Version:


Attachments (Terms of Use)

Comment 2 Peter Krempa 2014-08-15 08:30:46 UTC
You have to use the --live (VIR_DUMP_LIVE) flag to not pause the guest while dumping it.

Comment 3 zhenfeng wang 2014-08-15 08:58:44 UTC
Hi Peter
The guest won't be paused again after specify the --live option, however, I doubt that if we have failed to dump the guest why still pause the guest if we didn't specify the --live option, this was  a little unreasonable, can't we check that if the dump path didn't exsit then report the error and skip the virsh dump directly. thanks

Comment 4 Peter Krempa 2014-08-15 09:08:25 UTC
It would be possible to achieve that in the code. As the situation is happening in a place where the guest would be paused in the success case, pausing it also if the file can't be created doesn't make much difference. There are other cases where the dump would fail and the guest would need to be paused eg. when the dump file is stored on a device that is full.


Note You need to log in before you can comment on or make changes to this bug.