From: MORITA Kazutaka <morita.kazutaka-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
To: Avi Kivity <avi-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: aliguori-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org,
sheepdog-CJ+3F33aHDCwRfvgX43A7Q@public.gmane.org,
qemu-devel-qX2TKyscuCcdnm+yROfE0A@public.gmane.org,
kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [RFC PATCH 1/2] close all the block drivers before the qemu process exits
Date: Thu, 13 May 2010 05:16:35 +0900 [thread overview]
Message-ID: <4BEB0CA3.50209@lab.ntt.co.jp> (raw)
In-Reply-To: <4BEABB0F.9030907-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
On 2010/05/12 23:28, Avi Kivity wrote:
> On 05/12/2010 01:46 PM, MORITA Kazutaka wrote:
>> This patch calls the close handler of the block driver before the qemu
>> process exits.
>>
>> This is necessary because the sheepdog block driver releases the lock
>> of VM images in the close handler.
>>
>>
>
> How do you handle abnormal termination?
>
In the case, we need to release the lock manually, unfortunately.
Sheepdog admin tool has a command to do that.
Thanks,
Kazutaka
WARNING: multiple messages have this Message-ID (diff)
From: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
To: Avi Kivity <avi@redhat.com>
Cc: fujita.tomonori@lab.ntt.co.jp, aliguori@us.ibm.com,
sheepdog@lists.wpkg.org, qemu-devel@nongnu.org,
kvm@vger.kernel.org
Subject: [Qemu-devel] Re: [RFC PATCH 1/2] close all the block drivers before the qemu process exits
Date: Thu, 13 May 2010 05:16:35 +0900 [thread overview]
Message-ID: <4BEB0CA3.50209@lab.ntt.co.jp> (raw)
In-Reply-To: <4BEABB0F.9030907@redhat.com>
On 2010/05/12 23:28, Avi Kivity wrote:
> On 05/12/2010 01:46 PM, MORITA Kazutaka wrote:
>> This patch calls the close handler of the block driver before the qemu
>> process exits.
>>
>> This is necessary because the sheepdog block driver releases the lock
>> of VM images in the close handler.
>>
>>
>
> How do you handle abnormal termination?
>
In the case, we need to release the lock manually, unfortunately.
Sheepdog admin tool has a command to do that.
Thanks,
Kazutaka
next prev parent reply other threads:[~2010-05-12 20:16 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-12 10:46 [RFC PATCH 0/2] Sheepdog: distributed storage system for QEMU MORITA Kazutaka
2010-05-12 10:46 ` [Qemu-devel] " MORITA Kazutaka
2010-05-12 10:46 ` [RFC PATCH 2/2] block: add sheepdog driver for distributed storage support MORITA Kazutaka
2010-05-12 10:46 ` [Qemu-devel] " MORITA Kazutaka
2010-05-12 11:38 ` [Qemu-devel] [RFC PATCH 0/2] Sheepdog: distributed storage system for QEMU Kevin Wolf
2010-05-12 11:38 ` Kevin Wolf
[not found] ` <4BEA931A.6040309-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-05-12 19:46 ` MORITA Kazutaka
2010-05-12 19:46 ` MORITA Kazutaka
[not found] ` <4BEB05A6.5030305-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
2010-05-13 14:03 ` MORITA Kazutaka
2010-05-13 14:03 ` MORITA Kazutaka
2010-05-14 8:32 ` Kevin Wolf
[not found] ` <4BED0A9A.9010608-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-05-14 9:54 ` MORITA Kazutaka
2010-05-14 9:54 ` MORITA Kazutaka
2010-05-14 10:05 ` Kevin Wolf
[not found] ` <1273661213-19611-1-git-send-email-morita.kazutaka-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
2010-05-12 10:46 ` [RFC PATCH 1/2] close all the block drivers before the qemu process exits MORITA Kazutaka
2010-05-12 10:46 ` [Qemu-devel] " MORITA Kazutaka
2010-05-12 14:01 ` Christoph Hellwig
2010-05-12 14:01 ` Christoph Hellwig
[not found] ` <20100512140132.GA11876-jcswGhMUV9g@public.gmane.org>
2010-05-12 19:50 ` MORITA Kazutaka
2010-05-12 19:50 ` MORITA Kazutaka
2010-05-12 14:28 ` Avi Kivity
2010-05-12 14:28 ` [Qemu-devel] " Avi Kivity
[not found] ` <4BEABB0F.9030907-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-05-12 20:16 ` MORITA Kazutaka [this message]
2010-05-12 20:16 ` MORITA Kazutaka
2010-05-13 2:34 ` MORITA Kazutaka
2010-05-13 2:34 ` [Qemu-devel] " MORITA Kazutaka
2010-05-14 9:51 ` [RFC PATCH v2 0/3] Sheepdog: distributed storage system for QEMU MORITA Kazutaka
2010-05-14 9:51 ` [Qemu-devel] " MORITA Kazutaka
[not found] ` <1273830676-2349-1-git-send-email-morita.kazutaka-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
2010-05-17 10:19 ` [RFC PATCH v3 " MORITA Kazutaka
2010-05-17 10:19 ` [Qemu-devel] " MORITA Kazutaka
2010-05-17 10:19 ` [RFC PATCH v3 1/3] close all the block drivers before the qemu process exits MORITA Kazutaka
2010-05-17 10:19 ` [Qemu-devel] " MORITA Kazutaka
2010-05-17 10:19 ` [RFC PATCH v3 2/3] block: call the snapshot handlers of the protocol drivers MORITA Kazutaka
2010-05-17 10:19 ` [Qemu-devel] " MORITA Kazutaka
2010-05-17 11:08 ` Kevin Wolf
2010-05-17 11:08 ` Kevin Wolf
2010-05-17 12:19 ` MORITA Kazutaka
2010-05-17 12:19 ` [Qemu-devel] " MORITA Kazutaka
2010-05-17 12:20 ` Kevin Wolf
2010-05-17 13:03 ` MORITA Kazutaka
2010-05-17 10:19 ` [RFC PATCH v3 3/3] block: add sheepdog driver for distributed storage support MORITA Kazutaka
2010-05-17 10:19 ` [Qemu-devel] " MORITA Kazutaka
2010-05-14 9:51 ` [RFC PATCH v2 1/3] close all the block drivers before the qemu process exits MORITA Kazutaka
2010-05-14 9:51 ` [Qemu-devel] " MORITA Kazutaka
2010-05-14 9:51 ` [RFC PATCH v2 2/3] block: call the snapshot handlers of the protocol drivers MORITA Kazutaka
2010-05-14 9:51 ` [Qemu-devel] " MORITA Kazutaka
2010-05-14 12:55 ` Kevin Wolf
2010-05-14 12:55 ` [Qemu-devel] " Kevin Wolf
2010-05-14 9:51 ` [RFC PATCH v2 3/3] block: add sheepdog driver for distributed storage support MORITA Kazutaka
2010-05-14 9:51 ` [Qemu-devel] " MORITA Kazutaka
2010-05-14 11:08 ` Kevin Wolf
2010-05-14 11:08 ` [Qemu-devel] " Kevin Wolf
[not found] ` <4BED2F16.1000608-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-05-17 10:34 ` MORITA Kazutaka
2010-05-17 10:34 ` [Qemu-devel] " MORITA Kazutaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BEB0CA3.50209@lab.ntt.co.jp \
--to=morita.kazutaka-zyj7fxus5i5l9jvzuh4aog@public.gmane.org \
--cc=aliguori-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
--cc=avi-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=qemu-devel-qX2TKyscuCcdnm+yROfE0A@public.gmane.org \
--cc=sheepdog-CJ+3F33aHDCwRfvgX43A7Q@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.