[libvirt-users] reboot command lost

when i send a reboot command to libvirtd to reboot a domain, it does not receive and print the following warn:2013-04-10 06:01:39.080+0000: 2908: warning : qemuDomainObjTaint:1311 : Domain id=56 name='69751ca7-3198-4f3c-8265-cb8cb70ad750' uuid=69751ca7-3198-4f3c-8265-cb8cb70ad750 is tainted: high-privileges what's the problem??? thanks a lot.
From: libvirt-users-request@redhat.com Subject: libvirt-users Digest, Vol 40, Issue 24 To: libvirt-users@redhat.com Date: Wed, 10 Apr 2013 12:00:18 -0400
Send libvirt-users mailing list submissions to libvirt-users@redhat.com
To subscribe or unsubscribe via the World Wide Web, visit https://www.redhat.com/mailman/listinfo/libvirt-users or, via email, send a message with subject or body 'help' to libvirt-users-request@redhat.com
You can reach the person managing the list at libvirt-users-owner@redhat.com When replying, please edit your Subject line so it is more specific than "Re: Contents of libvirt-users digest..."
Today's Topics:
1. performance tradeoffs/penalty (lejeczek) 2. Re: performance tradeoffs/penalty (Felicitus)
----------------------------------------------------------------------
Message: 1 Date: Wed, 10 Apr 2013 13:02:19 +0100 From: lejeczek <peljasz@yahoo.co.uk> To: libvirt-users@redhat.com Subject: [libvirt-users] performance tradeoffs/penalty Message-ID: <516554CB.2000703@yahoo.co.uk> Content-Type: text/plain; charset="utf-8"; Format="flowed"
hi everybody
a newbie here, hoping some experienced users/expert can honestly answer this one question, and I think I realize all other advantages libvirtoffer but simply performance,
does libvirt make a user pay penalty, even if only a small amount, for using it when compared to raw qemu-kvm command line? if it does where the overhead goes? quest or host, or maybe both? lastly if overall performance is slower then how small it is comparing to all the advantages it offers?
many thanks and apologies if this subject was answered already in the past
-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.redhat.com/archives/libvirt-users/attachments/20130410/6183c314/attachment.html>
------------------------------
Message: 2 Date: Wed, 10 Apr 2013 14:45:02 +0200 From: Felicitus <felicitus@felicitus.org> To: libvirt-users@redhat.com Subject: Re: [libvirt-users] performance tradeoffs/penalty Message-ID: <51655ECE.20503@felicitus.org> Content-Type: text/plain; charset=ISO-8859-1
does libvirt make a user pay penalty, even if only a small amount, for using it when compared to raw qemu-kvm command line?
Not that I know of, except that the libvirt daemon uses a few additional CPU cycles. Technically yes, in the spirit of the question no. Have a look at your process tree; you'll see command lines in the same way as you'd expect them to be when you start machines manually.
if it does where the overhead goes? quest or host, or maybe both?
No additional CPU cycles for the guest, a few additional CPU cycles for the host to get status information and expose it via the daemon.
if overall performance is slower then how small it is comparing to all the advantages it offers?
It is completely negligible.
Felicitus
------------------------------
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
End of libvirt-users Digest, Vol 40, Issue 24 *********************************************

On 04/11/2013 06:25 AM, 邓焕聪 wrote:
when i send a reboot command to libvirtd to reboot a domain, it does not receive and print the following warn:2013-04-10 06:01:39.080+0000: 2908: warning : qemuDomainObjTaint:1311 : Domain id=56 name='69751ca7-3198-4f3c-8265-cb8cb70ad750' uuid=69751ca7-3198-4f3c-8265-cb8cb70ad750 is tainted: high-privileges what's the problem??? thanks a lot.
That's just a warning that your qemu runs as root:root. It has nothing to do with the reboot issue. Let me make this clear, I'm not sure I understand correctly. You are running 'virsh reboot <machine>', nothing happens in the machine and the message you've sent appears in the daemon.log or log of the machine, right? If yes (I was partially under the impression that virsh ended up with the warning message), then the problem is most probably that your guest ignores the ACPI reboot event. Do you have acpid running inside the guest? I'm deleting the rest of the message as it has nothing to do with your question. Martin

I wrote program to do it by using virDomainReboot. Before the program send reboot message to the guest, it had crashed, so i guess because of the crashed ,it ignored the reboot message, by the way , the guest's os is windows. On Apr 11, 2013, at 7:47 PM, Martin Kletzander <mkletzan@redhat.com> wrote:
On 04/11/2013 06:25 AM, 邓焕聪 wrote:
when i send a reboot command to libvirtd to reboot a domain, it does not receive and print the following warn:2013-04-10 06:01:39.080+0000: 2908: warning : qemuDomainObjTaint:1311 : Domain id=56 name='69751ca7-3198-4f3c-8265-cb8cb70ad750' uuid=69751ca7-3198-4f3c-8265-cb8cb70ad750 is tainted: high-privileges what's the problem??? thanks a lot.
That's just a warning that your qemu runs as root:root. It has nothing to do with the reboot issue.
Let me make this clear, I'm not sure I understand correctly.
You are running 'virsh reboot <machine>', nothing happens in the machine and the message you've sent appears in the daemon.log or log of the machine, right? If yes (I was partially under the impression that virsh ended up with the warning message), then the problem is most probably that your guest ignores the ACPI reboot event. Do you have acpid running inside the guest?
I'm deleting the rest of the message as it has nothing to do with your question.
Martin
participants (3)
-
denghuancong
-
Martin Kletzander
-
邓焕聪