[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait'
From: |
Zachary Amsden |
Subject: |
Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command |
Date: |
Wed, 08 Apr 2009 11:27:45 -1000 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20090317) |
Anthony Liguori wrote:
> However, I do like the idea though of QEMU queuing events for a certain
> period of time. Not everyone always has something connected to a
> monitor. I may notice that my NFS server (which runs in a VM) is not
> responding, VNC to the system, switch to the monitor, and take a look at
> the event log. If I can get the past 10 minutes of events, I may see
> something useful like a host IO failure.
If you want finite and deterministic behavior, the only way to achieve
it is by using a finite number of events. Even better, you can
pre-allocate the events themselves in a large array avoiding runtime
memory operations and just use them as a ring. The fixed number of
monitor events could be a command line or config option. And if no
monitor has connected since overflow, deliberately corrupt the first event.
(qemu) wait
monitor warning !!Message buffer has overflowed=Event log truncated!!
- Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command, (continued)
- Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command, Jamie Lokier, 2009/04/08
- Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command, Anthony Liguori, 2009/04/08
- Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command, Hollis Blanchard, 2009/04/08
- Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command, Anthony Liguori, 2009/04/08
- Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command, Hollis Blanchard, 2009/04/08
- Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command, Anthony Liguori, 2009/04/09
- Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command, Paul Brook, 2009/04/08
- Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command, Avi Kivity, 2009/04/09
- Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command, Anthony Liguori, 2009/04/09
- Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command, Jamie Lokier, 2009/04/09
- Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command,
Zachary Amsden <=
- Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command, Daniel P. Berrange, 2009/04/09
- Re: [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command, Jamie Lokier, 2009/04/09
- [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command, Gerd Hoffmann, 2009/04/09
- [Qemu-devel] Re: [libvirt] Re: [PATCH 2/3] Introduce monitor 'wait' command, Anthony Liguori, 2009/04/09
[Qemu-devel] Re: [PATCH 1/3] Allow multiple monitor devices, Jan Kiszka, 2009/04/08