[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] Disable virtio-balloon memory stats interface
From: |
Amit Shah |
Subject: |
[Qemu-devel] Re: [PATCH] Disable virtio-balloon memory stats interface |
Date: |
Tue, 31 Aug 2010 09:12:39 +0530 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
On (Mon) Aug 30 2010 [14:17:51], Adam Litke wrote:
> The addition of memory stats reporting to the virtio balloon causes
> the 'info balloon' command to become asynchronous. This is a regression
> because management tools that consume this command were not designed to
> handle lost or delayed responses.
>
> To fix this regression, the virtio balloon memory stats feature is being
> disabled in qemu-0.13.
>
> Signed-off-by: Adam Litke <address@hidden>
>
> diff --git a/hw/virtio-balloon.c b/hw/virtio-balloon.c
> index 9fe3886..2d80382 100644
> --- a/hw/virtio-balloon.c
> +++ b/hw/virtio-balloon.c
> @@ -190,7 +190,18 @@ static void virtio_balloon_set_config(VirtIODevice *vdev,
>
> static uint32_t virtio_balloon_get_features(VirtIODevice *vdev, uint32_t f)
> {
> - f |= (1 << VIRTIO_BALLOON_F_STATS_VQ);
> + /*
> + * The addition of memory stats reporting to the virtio balloon causes
> + * the 'info balloon' command to become asynchronous. This is a
> regression
> + * because management tools that consume this command were not designed
> to
> + * handle lost or delayed responses.
Rather, the monitor now gets stuck when it originally didn't.
> + *
> + * To fix this regression, the virtio balloon memory stats feature is
> being
> + * disabled in qemu-0.13.
> + *
> + * -aglitke
> + */
> + /* f |= (1 << VIRTIO_BALLOON_F_STATS_VQ); */
> return f;
> }
Acked-by: Amit Shah <address@hidden>
Amit
- [Qemu-devel] Re: Should QMP be RPC to internal C interfaces?, (continued)
- [Qemu-devel] Re: Should QMP be RPC to internal C interfaces?, Markus Armbruster, 2010/08/31
- [Qemu-devel] Re: Should QMP be RPC to internal C interfaces?, Anthony Liguori, 2010/08/31
- [Qemu-devel] Re: [PATCH v3 2/3] qerror: Add a new MACHINE_STOPPED error message, Amit Shah, 2010/08/27
- Re: [Qemu-devel] Re: [PATCH v3 2/3] qerror: Add a new MACHINE_STOPPED error message, Markus Armbruster, 2010/08/30
- Re: [Qemu-devel] Re: [PATCH v3 2/3] qerror: Add a new MACHINE_STOPPED error message, Anthony Liguori, 2010/08/30
- Re: [Qemu-devel] Re: [PATCH v3 2/3] qerror: Add a new MACHINE_STOPPED error message, Markus Armbruster, 2010/08/30
- [Qemu-devel] [PATCH] Disable virtio-balloon memory stats interface, Adam Litke, 2010/08/30
- [Qemu-devel] Re: [PATCH] Disable virtio-balloon memory stats interface,
Amit Shah <=
[Qemu-devel] [PATCH v3 3/3] balloon: Don't try fetching info if machine is stopped, Amit Shah, 2010/08/27