Re: [Qemu-devel] [RFC] block: Is name of BlockBackend deprecated with -blockdev parameter?

2018-12-14 Thread Anton Kuchin
I want to make it consistent but I'm note sure I understand all aspects of current state and legacy clients we need to support. The initial idea was to have single function blk_lookup(char* name) and search in all namespaces internally as they are guaranteed to have no intersection. This will

Re: [Qemu-devel] [RFC] block: Is name of BlockBackend deprecated with -blockdev parameter?

2018-12-11 Thread Kevin Wolf
Am 11.12.2018 um 08:28 hat Markus Armbruster geschrieben: > I figure Kevin knows, but you typoed his e-mail address. I fixed it for > you. > > Anton Kuchin writes: > > > Hello, > > > > I'm trying to switch from -drive parameter to -blockdev + -device and > > having problems. Looks like with thi

Re: [Qemu-devel] [RFC] block: Is name of BlockBackend deprecated with -blockdev parameter?

2018-12-10 Thread Markus Armbruster
I figure Kevin knows, but you typoed his e-mail address. I fixed it for you. Anton Kuchin writes: > Hello, > > I'm trying to switch from -drive parameter to -blockdev + -device and > having problems. Looks like with this option I have no way to set the > name of  created BlockBackend, but some

[Qemu-devel] [RFC] block: Is name of BlockBackend deprecated with -blockdev parameter?

2018-12-10 Thread Anton Kuchin
Hello, I'm trying to switch from -drive parameter to -blockdev + -device and having problems. Looks like with this option I have no way to set the name of  created BlockBackend, but some QMP and HMP commands are trying to find blk with blk_by_name() and fail to locate my device (e.g. hmp_comm