[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] tcmu-runner and QEMU
From: |
Andy Grover |
Subject: |
Re: [Qemu-devel] tcmu-runner and QEMU |
Date: |
Tue, 02 Sep 2014 17:20:55 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 09/02/2014 02:25 AM, Stefan Hajnoczi wrote:
The easiest approach is to write a tool similar to qemu-nbd that speaks
the userspace target protocol (i.e. mmap the shared memory).
If the tcmu setup code is involved, maybe providing a libtcmu with the
setup code would be useful. I suspect that other projects may want to
integrate userspace target support too. It's easier to let people add
it to their codebase rather than hope they bring their codebase into
tcmu-runner.
What other projects were you thinking of?
From my perspective, QEMU is singular. QEMU's block support seems to
cover just about everything, even ceph, gluster, and sheepdog!
We certainly don't want to duplicate that code so a qemu-lio-tcmu in
qemu.git like qemu-nbd, basically statically linking the BlockDriver
object files, sounds like the first thing to try.
We can make tcmu-runner a library (libtcmu) if it makes sense, but let's
do some work to try the current way and see how it goes before
"flipping" it.
> The qemu-lio tool would live in the QEMU codebase and reuse all the
> infrastructure. For example, it could include a QMP monitor just like
> the one you are adding to qemu-nbd.
Benoit and I talked a little about QMP on another part of the thread...
I said I didn't think we needed a QMP monitor in qemu-lio-tcmu, but let
me spin up on qemu a little more and I'll be able to speak more
intelligently.
-- Andy
- Re: [Qemu-devel] tcmu-runner and QEMU, Paolo Bonzini, 2014/09/01
- Re: [Qemu-devel] tcmu-runner and QEMU, Paolo Bonzini, 2014/09/01
- Re: [Qemu-devel] tcmu-runner and QEMU, Stefan Hajnoczi, 2014/09/02
- Re: [Qemu-devel] tcmu-runner and QEMU,
Andy Grover <=
- Re: [Qemu-devel] tcmu-runner and QEMU, Paolo Bonzini, 2014/09/03
- Re: [Qemu-devel] tcmu-runner and QEMU, Stefan Hajnoczi, 2014/09/03
- Re: [Qemu-devel] tcmu-runner and QEMU, Benoît Canet, 2014/09/04
- Re: [Qemu-devel] tcmu-runner and QEMU, Andy Grover, 2014/09/04
- Re: [Qemu-devel] tcmu-runner and QEMU, Benoît Canet, 2014/09/04
- Re: [Qemu-devel] tcmu-runner and QEMU, Stefan Hajnoczi, 2014/09/04