[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvirt-users
Subject:    RE: qemu no-shutdown behavior in libvirt
From:       "Luna Xu Yamada" <xuluna () ibm ! com>
Date:       2020-11-30 19:02:11
Message-ID: OFFF2F9488.91AF5EFA-ON00258630.006891C8-1606762931344 () notes ! na ! collabserv ! com
[Download RAW message or body]

[Attachment #2 (text/plain)]


Hi Peter,

Sorry for the HTML format. I'm now sending from a different client not sure
it solves the problem... Thanks for replying and confirming the feature is
not there. I'll be happy to help or contribute in anyway.

Sent from my iPad

> On Nov 30, 2020, at 1:15 PM, Peter Krempa <pkrempa@redhat.com> wrote:
>
> On Mon, Nov 30, 2020 at 15:49:06 +0000, Luna Xu Yamada wrote:
>
> Firstly, please don't use HTML-only mails on this mailing list.
>
>> <div class="socmaildefaultfont" dir="ltr" style="font-family:Arial,
Helvetica, sans-serif;font-size:10pt" ><div dir="ltr" >Hi libvirt
maintainers,</div>
>> <div dir="ltr" >&nbsp;</div>
>> <div dir="ltr" >Thank you for maintaining such a great tool. I'm new to
this area and I have a question when using libvirt with qemu.&nbsp;</div>
>> <div dir="ltr" >&nbsp;</div>
>> <div dir="ltr" >When I start a VM with qemu process I can specify
-no-shutdown flag so that my qemu process is not shutdown even if I
shutdown the VM from the inside (issue shutdown or halt command inside VM).
The reason I want to do this is I can continue my jobs for example backup
(drive-backup) after VM gets shutdown by the user, and I'm able to check
the status of the job through qmp commands. I'm moving to libvirt from qemu
to manage my VM, and I'm struggling with how to do the same thing through
virsh. I'm able to pass the -no-shutdown flag into qemu but it behaves
differently in virsh when I shutdown the VM. Much appreciated if someone
could give me a hint.</div>
>
> What you want to achieve would be the equivalent if the
> <on_poweroff>pause</on_poweroff> option existed. Unfortunately it does
> not exist, and thus it's not possible to achieve what you want.
>
> You are welcome to implement the feature and/or submit an issue in the
> issue tracker with a justification of how it would be useful. Note that
> submitting the issue doesn't necessarily guarantee that anybody will
> pick up the work though.
>

[Attachment #3 (text/html)]

<html><body><p><font size="2">Hi Peter,<br></font><font size="2"><br></font><font \
size="2">Sorry for the HTML format. I'm now sending from a different client not sure \
it solves the problem... Thanks for replying and confirming the feature is not there. \
I'll be happy to help or contribute in anyway. <br></font><font \
size="2"><br></font><font size="2">Sent from my iPad<br></font><font \
size="2"><br></font><font size="2">&gt; On Nov 30, 2020, at 1:15 PM, Peter Krempa \
&lt;pkrempa@redhat.com&gt; wrote:<br></font><font size="2">&gt; <br></font><font \
size="2">&gt; On Mon, Nov 30, 2020 at 15:49:06 +0000, Luna Xu Yamada \
wrote:<br></font><font size="2">&gt; <br></font><font size="2">&gt; Firstly, please \
don't use HTML-only mails on this mailing list.<br></font><font size="2">&gt; \
<br></font><font size="2">&gt;&gt; &lt;div class=&quot;socmaildefaultfont&quot; \
dir=&quot;ltr&quot; style=&quot;font-family:Arial, Helvetica, \
sans-serif;font-size:10pt&quot; &gt;&lt;div dir=&quot;ltr&quot; &gt;Hi libvirt \
maintainers,&lt;/div&gt;<br></font><font size="2">&gt;&gt; &lt;div \
dir=&quot;ltr&quot; &gt;&amp;nbsp;&lt;/div&gt;<br></font><font size="2">&gt;&gt; \
&lt;div dir=&quot;ltr&quot; &gt;Thank you for maintaining such a great tool. I'm new \
to this area and I have a question when using libvirt with \
qemu.&amp;nbsp;&lt;/div&gt;<br></font><font size="2">&gt;&gt; &lt;div \
dir=&quot;ltr&quot; &gt;&amp;nbsp;&lt;/div&gt;<br></font><font size="2">&gt;&gt; \
&lt;div dir=&quot;ltr&quot; &gt;When I start a VM with qemu process I can specify \
-no-shutdown flag so that my qemu process is not shutdown even if I shutdown the VM \
from the inside (issue shutdown or halt command inside VM). The reason I want to do \
this is I can continue my jobs for example backup (drive-backup) after VM gets \
shutdown by the user, and I'm able to check the status of the job through qmp \
commands. I'm moving to libvirt from qemu to manage my VM, and I'm struggling with \
how to do the same thing through virsh. I'm able to pass the -no-shutdown flag into \
qemu but it behaves differently in virsh when I shutdown the VM. Much appreciated if \
someone could give me a hint.&lt;/div&gt;<br></font><font size="2">&gt; \
<br></font><font size="2">&gt; What you want to achieve would be the equivalent if \
the<br></font><font size="2">&gt; &lt;on_poweroff&gt;pause&lt;/on_poweroff&gt; option \
existed. Unfortunately it does<br></font><font size="2">&gt; not exist, and thus it's \
not possible to achieve what you want.<br></font><font size="2">&gt; <br></font><font \
size="2">&gt; You are welcome to implement the feature and/or submit an issue in \
the<br></font><font size="2">&gt; issue tracker with a justification of how it would \
be useful. Note that<br></font><font size="2">&gt; submitting the issue doesn't \
necessarily guarantee that anybody will<br></font><font size="2">&gt; pick up the \
work though.<br></font><font size="2">&gt; <br></font><BR> </body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic