From: "Richard W.M. Jones" <rjones@redhat.com>
To: Wolfgang Richter <wolf@cs.cmu.edu>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
qemu-devel <qemu-devel@nongnu.org>,
stefanha <stefanha@redhat.com>
Subject: Re: [Qemu-devel] [RFC] block-trace Low Level Command Supporting Disk Introspection
Date: Wed, 22 May 2013 17:42:19 +0100 [thread overview]
Message-ID: <20130522164219.GW4515@redhat.com> (raw)
In-Reply-To: <CACO=3k6QwYKX6eA83zsP2RDeDwZRHD1PzpWKO8Qva6D1dRGkng@mail.gmail.com>
On Wed, May 22, 2013 at 11:51:16AM -0400, Wolfgang Richter wrote:
> This is actually interesting. Does the QEMU nbd server support multiple
> readers?
Yes. qemu-nbd has a -e/--shared=<N> option which appears to do
exactly what it says in the man page.
$ guestfish -N fs exit
$ ls -lh test1.img
-rw-rw-r--. 1 rjones rjones 100M May 22 17:37 test1.img
$ qemu-nbd -e 3 -r -t test1.img
>From another shell:
$ guestfish --format=raw -a nbd://localhost
Welcome to guestfish, the guest filesystem shell for
editing virtual machine filesystems and disk images.
Type: 'help' for help on commands
'man' to read the manual
'quit' to quit the shell
><fs> run
><fs> list-filesystems
/dev/sda1: ext2
Run up to two extra guestfish instances, with the same result. The
fourth guestfish instance hangs at the 'run' command until one of the
first three is told to exit.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
next prev parent reply other threads:[~2013-05-22 16:42 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-13 21:21 [Qemu-devel] [RFC] block-trace Low Level Command Supporting Disk Introspection Wolfgang Richter
2013-05-14 8:40 ` Stefan Hajnoczi
2013-05-14 15:42 ` Wolfgang Richter
2013-05-14 8:50 ` Kevin Wolf
2013-05-14 10:04 ` Paolo Bonzini
2013-05-14 15:48 ` Wolfgang Richter
2013-05-14 16:45 ` Paolo Bonzini
2013-05-14 19:30 ` Wolfgang Richter
2013-05-15 7:59 ` Kevin Wolf
2013-05-15 8:25 ` Paolo Bonzini
2013-05-15 8:53 ` Kevin Wolf
2013-05-15 9:16 ` Paolo Bonzini
2013-05-15 9:46 ` Kevin Wolf
2013-05-15 11:54 ` Paolo Bonzini
2013-05-22 15:46 ` Wolfgang Richter
2013-05-14 15:45 ` Wolfgang Richter
2013-05-16 13:44 ` Richard W.M. Jones
2013-05-22 15:51 ` Wolfgang Richter
2013-05-22 16:11 ` Paolo Bonzini
2013-05-22 16:29 ` Wolfgang Richter
2013-05-22 16:42 ` Richard W.M. Jones [this message]
2013-05-22 18:32 ` Wolfgang Richter
2013-05-22 19:26 ` Richard W.M. Jones
2013-05-22 19:38 ` Wolfgang Richter
2013-05-22 20:47 ` Richard W.M. Jones
2013-05-22 21:46 ` Paolo Bonzini
2013-05-23 7:50 ` Stefan Hajnoczi
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=20130522164219.GW4515@redhat.com \
--to=rjones@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=wolf@cs.cmu.edu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).