Re: equivalent to "-drive if=ide,id=disk0....."

2020-07-28 Thread Kashyap Chamarthy
On Tue, Jul 28, 2020 at 01:06:48PM +0200, Kevin Wolf wrote: > Am 27.07.2020 um 23:50 hat Kashyap Chamarthy geschrieben: [...] > > IIUC, specifying 'node-name' should be sufficient. Also, you don't need > > to specify JSON syntax on the command-line; you can 'flatten it' (see > > below). > >

Re: equivalent to "-drive if=ide,id=disk0....."

2020-07-28 Thread Kevin Wolf
Am 27.07.2020 um 23:50 hat Kashyap Chamarthy geschrieben: > [Cc: qemu-block] > > On Mon, Jul 27, 2020 at 05:11:15PM +0800, Derek Su wrote: > > Hello, > > > > I'm trying to replace "-drive if=ide,id=disk0." with "-blockdev > > '{"node-name": "top-node"," > > The "id" is the name of

Re: equivalent to "-drive if=ide,id=disk0....."

2020-07-27 Thread Kashyap Chamarthy
[Cc: qemu-block] On Mon, Jul 27, 2020 at 05:11:15PM +0800, Derek Su wrote: > Hello, > > I'm trying to replace "-drive if=ide,id=disk0." with "-blockdev > '{"node-name": "top-node"," > The "id" is the name of BlockBackend, and the "node-name" is the name > of the BDS tree's root. > Is