summary refs log tree commit diff stats
path: root/hw/display/vhost-user-gpu-pci.c
diff options
context:
space:
mode:
authorSam Eiderman <shmuel.eiderman@oracle.com>2019-05-23 19:33:37 +0300
committerMax Reitz <mreitz@redhat.com>2019-05-28 20:30:55 +0200
commit330c72957196e0ae382abcaa97ebf4eb9bc8574f (patch)
treec6f6d6855154ae8a323f101560506586b922239f /hw/display/vhost-user-gpu-pci.c
parent863cc78f1b38e926a1ac71348aaba0f6777660ff (diff)
downloadfocaccia-qemu-330c72957196e0ae382abcaa97ebf4eb9bc8574f.tar.gz
focaccia-qemu-330c72957196e0ae382abcaa97ebf4eb9bc8574f.zip
qemu-img: rebase: Reuse in-chain BlockDriverState
If a chain was detected, don't open a new BlockBackend from the target
backing file which will create a new BlockDriverState. Instead, create
an empty BlockBackend and attach the already open BlockDriverState.

Permissions for blk_new() were copied from blk_new_open() when
flags = 0.

Reviewed-by: Karl Heubaum <karl.heubaum@oracle.com>
Reviewed-by: Eyal Moscovici <eyal.moscovici@oracle.com>
Signed-off-by: Sagi Amit <sagi.amit@oracle.com>
Co-developed-by: Sagi Amit <sagi.amit@oracle.com>
Signed-off-by: Sam Eiderman <shmuel.eiderman@oracle.com>
Message-id: 20190523163337.4497-4-shmuel.eiderman@oracle.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'hw/display/vhost-user-gpu-pci.c')
0 files changed, 0 insertions, 0 deletions