Skip to content
  • Kevin Wolf's avatar
    89b6fc45
    hmp: Allow using qdev ID for qemu-io command · 89b6fc45
    Kevin Wolf authored
    
    
    In order to issue requests on an existing BlockBackend with the
    'qemu-io' HMP command, allow specifying the BlockBackend not only with a
    BlockBackend name, but also with a qdev ID/QOM path for a device that
    owns the (possibly anonymous) BlockBackend.
    
    Because qdev names could be conflicting with BlockBackend and node
    names, introduce a -d option to explicitly address a device. If the
    option is not given, a BlockBackend or a node is addressed.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    89b6fc45
    hmp: Allow using qdev ID for qemu-io command
    Kevin Wolf authored
    
    
    In order to issue requests on an existing BlockBackend with the
    'qemu-io' HMP command, allow specifying the BlockBackend not only with a
    BlockBackend name, but also with a qdev ID/QOM path for a device that
    owns the (possibly anonymous) BlockBackend.
    
    Because qdev names could be conflicting with BlockBackend and node
    names, introduce a -d option to explicitly address a device. If the
    option is not given, a BlockBackend or a node is addressed.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Loading