Re: [Qemu-devel] Raw notes from a small block layer/QAPI/something pre-christmas meeting

2017-12-22 Thread Vladimir Sementsov-Ogievskiy
15.12.2017 19:38, Max Reitz wrote: Hi everyone, Kevin, Markus, and me had a small personal meeting over the last 1.5 days and discussed a couple of things about the block layer and its QAPI entanglements. Here's a rather rough sketch on what we talked about: [...] == Single block job for

Re: [Qemu-devel] Raw notes from a small block layer/QAPI/something pre-christmas meeting

2017-12-20 Thread Markus Armbruster
"Daniel P. Berrange" writes: > On Fri, Dec 15, 2017 at 05:38:00PM +0100, Max Reitz wrote: > >> Image creation in qemu-system-* vs. qemu-img: >> In order to get proper introspection for qemu-img create, we need a >> QAPI schema. If we have a QAPI schema, we might as well add >> blockdev-cre

Re: [Qemu-devel] Raw notes from a small block layer/QAPI/something pre-christmas meeting

2017-12-20 Thread Daniel P. Berrange
On Fri, Dec 15, 2017 at 05:38:00PM +0100, Max Reitz wrote: > Image creation in qemu-system-* vs. qemu-img: > In order to get proper introspection for qemu-img create, we need a > QAPI schema. If we have a QAPI schema, we might as well add > blockdev-create to QMP. > As long as we do not h

Re: [Qemu-devel] Raw notes from a small block layer/QAPI/something pre-christmas meeting

2017-12-18 Thread Markus Armbruster
Max Reitz writes: [...] > == Image creation == > > Image creation and op blockers: > At least for the time being, we probably just want file-posix to open > the new file with O_CREAT | O_RDWR, then claim the appropriate op > blockers (WRITE and RESIZE) and then invoke ftruncate(). > Alter

[Qemu-devel] Raw notes from a small block layer/QAPI/something pre-christmas meeting

2017-12-15 Thread Max Reitz
Hi everyone, Kevin, Markus, and me had a small personal meeting over the last 1.5 days and discussed a couple of things about the block layer and its QAPI entanglements. Here's a rather rough sketch on what we talked about: == Quorum is broken == a) x-blockdev-change is broken. When adding a