[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [libvirt] Libvirt debug API
From: |
Avi Kivity |
Subject: |
Re: [Qemu-devel] Re: [libvirt] Libvirt debug API |
Date: |
Fri, 23 Apr 2010 15:48:27 +0300 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 |
On 04/22/2010 09:49 PM, Anthony Liguori wrote:
real API. Say, adding a device libvirt doesn't know about or stopping
the VM
while libvirt thinks it's still running or anything like that.
Another problem is issuing Monitor commands that could confuse
libvirt's
We need to make libvirt and qemu smarter.
We already face this problem today with multiple libvirt users. This
is why sophisticated management mechanisms (like LDAP) have mechanisms
to do transactions or at least a series of atomic operations.
And people said qmp/json was overengineered...
But seriously, transactions won't help anything. qemu maintains state,
and when you have two updaters touching a shared variable not excepting
each other to, things break, no matter how much locking there is. The
only way that separate monitors could work is if they touch completely
separate state, which is difficult to ensure if you upgrade your libvirt.
--
Do not meddle in the internals of kernels, for they are subtle and quick to
panic.
- Re: [Qemu-devel] Re: [libvirt] Libvirt debug API, (continued)
- Re: [Qemu-devel] Re: [libvirt] Libvirt debug API, Richard W.M. Jones, 2010/04/11
- Re: [Qemu-devel] Re: [libvirt] Libvirt debug API, Jamie Lokier, 2010/04/11
- Message not available
- Re: [libvirt] [Qemu-devel] Re: Libvirt debug API, Jamie Lokier, 2010/04/12
- Re: [libvirt] [Qemu-devel] Re: Libvirt debug API, Daniel P. Berrange, 2010/04/12
- Re: [libvirt] [Qemu-devel] Re: Libvirt debug API, Anthony Liguori, 2010/04/22
- Re: [libvirt] [Qemu-devel] Re: Libvirt debug API, Jes Sorensen, 2010/04/23
- Re: [libvirt] [Qemu-devel] Re: Libvirt debug API, Daniel P. Berrange, 2010/04/23
- Re: [Qemu-devel] Re: [libvirt] Libvirt debug API, Daniel P. Berrange, 2010/04/12
Re: [Qemu-devel] Re: [libvirt] Libvirt debug API, Luiz Capitulino, 2010/04/12
- Re: [Qemu-devel] Re: [libvirt] Libvirt debug API, Anthony Liguori, 2010/04/22
- Re: [Qemu-devel] Re: [libvirt] Libvirt debug API,
Avi Kivity <=
- Re: [Qemu-devel] Re: [libvirt] Libvirt debug API, Anthony Liguori, 2010/04/23
- Re: [Qemu-devel] Re: [libvirt] Libvirt debug API, Avi Kivity, 2010/04/23
- Re: [libvirt] [Qemu-devel] Re: Libvirt debug API, Daniel P. Berrange, 2010/04/23
- Re: [libvirt] [Qemu-devel] Re: Libvirt debug API, Jamie Lokier, 2010/04/26
- Re: [libvirt] [Qemu-devel] Re: Libvirt debug API, Chris Lalancette, 2010/04/26
- Re: [libvirt] [Qemu-devel] Re: Libvirt debug API, Avi Kivity, 2010/04/26
- Re: [libvirt] [Qemu-devel] Re: Libvirt debug API, Daniel P. Berrange, 2010/04/26
- Re: [libvirt] [Qemu-devel] Re: Libvirt debug API, Anthony Liguori, 2010/04/26
- Re: [libvirt] [Qemu-devel] Re: Libvirt debug API, Daniel P. Berrange, 2010/04/26
- Re: [libvirt] [Qemu-devel] Re: Libvirt debug API, Anthony Liguori, 2010/04/26