Home
last modified time | relevance | path

Searched hist:a7f53e26a6f5bd64cda617cbcca118601d9a01d9 (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/include/sysemu/
H A Dblock-backend.hdiff a7f53e26a6f5bd64cda617cbcca118601d9a01d9 Tue Oct 07 06:59:25 CDT 2014 Markus Armbruster <armbru@redhat.com> block: Lift device model API into BlockBackend

Move device model attachment / detachment and the BlockDevOps device
model callbacks and their wrappers from BlockDriverState to
BlockBackend.

Wrapper calls in block.c change from

bdrv_dev_FOO_cb(bs, ...)

to

if (bs->blk) {
bdrv_dev_FOO_cb(bs->blk, ...);
}

No change, because both bdrv_dev_change_media_cb() and
bdrv_dev_resize_cb() do nothing when no device model is attached, and
a device model can be attached only when bs->blk.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
/openbmc/qemu/block/
H A Dqapi.cdiff a7f53e26a6f5bd64cda617cbcca118601d9a01d9 Tue Oct 07 06:59:25 CDT 2014 Markus Armbruster <armbru@redhat.com> block: Lift device model API into BlockBackend

Move device model attachment / detachment and the BlockDevOps device
model callbacks and their wrappers from BlockDriverState to
BlockBackend.

Wrapper calls in block.c change from

bdrv_dev_FOO_cb(bs, ...)

to

if (bs->blk) {
bdrv_dev_FOO_cb(bs->blk, ...);
}

No change, because both bdrv_dev_change_media_cb() and
bdrv_dev_resize_cb() do nothing when no device model is attached, and
a device model can be attached only when bs->blk.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
H A Dblock-backend.cdiff a7f53e26a6f5bd64cda617cbcca118601d9a01d9 Tue Oct 07 06:59:25 CDT 2014 Markus Armbruster <armbru@redhat.com> block: Lift device model API into BlockBackend

Move device model attachment / detachment and the BlockDevOps device
model callbacks and their wrappers from BlockDriverState to
BlockBackend.

Wrapper calls in block.c change from

bdrv_dev_FOO_cb(bs, ...)

to

if (bs->blk) {
bdrv_dev_FOO_cb(bs->blk, ...);
}

No change, because both bdrv_dev_change_media_cb() and
bdrv_dev_resize_cb() do nothing when no device model is attached, and
a device model can be attached only when bs->blk.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
/openbmc/qemu/include/block/
H A Dblock.hdiff a7f53e26a6f5bd64cda617cbcca118601d9a01d9 Tue Oct 07 06:59:25 CDT 2014 Markus Armbruster <armbru@redhat.com> block: Lift device model API into BlockBackend

Move device model attachment / detachment and the BlockDevOps device
model callbacks and their wrappers from BlockDriverState to
BlockBackend.

Wrapper calls in block.c change from

bdrv_dev_FOO_cb(bs, ...)

to

if (bs->blk) {
bdrv_dev_FOO_cb(bs->blk, ...);
}

No change, because both bdrv_dev_change_media_cb() and
bdrv_dev_resize_cb() do nothing when no device model is attached, and
a device model can be attached only when bs->blk.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
H A Dblock_int.hdiff a7f53e26a6f5bd64cda617cbcca118601d9a01d9 Tue Oct 07 06:59:25 CDT 2014 Markus Armbruster <armbru@redhat.com> block: Lift device model API into BlockBackend

Move device model attachment / detachment and the BlockDevOps device
model callbacks and their wrappers from BlockDriverState to
BlockBackend.

Wrapper calls in block.c change from

bdrv_dev_FOO_cb(bs, ...)

to

if (bs->blk) {
bdrv_dev_FOO_cb(bs->blk, ...);
}

No change, because both bdrv_dev_change_media_cb() and
bdrv_dev_resize_cb() do nothing when no device model is attached, and
a device model can be attached only when bs->blk.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
/openbmc/qemu/
H A Dblockdev.cdiff a7f53e26a6f5bd64cda617cbcca118601d9a01d9 Tue Oct 07 06:59:25 CDT 2014 Markus Armbruster <armbru@redhat.com> block: Lift device model API into BlockBackend

Move device model attachment / detachment and the BlockDevOps device
model callbacks and their wrappers from BlockDriverState to
BlockBackend.

Wrapper calls in block.c change from

bdrv_dev_FOO_cb(bs, ...)

to

if (bs->blk) {
bdrv_dev_FOO_cb(bs->blk, ...);
}

No change, because both bdrv_dev_change_media_cb() and
bdrv_dev_resize_cb() do nothing when no device model is attached, and
a device model can be attached only when bs->blk.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
H A Dblock.cdiff a7f53e26a6f5bd64cda617cbcca118601d9a01d9 Tue Oct 07 06:59:25 CDT 2014 Markus Armbruster <armbru@redhat.com> block: Lift device model API into BlockBackend

Move device model attachment / detachment and the BlockDevOps device
model callbacks and their wrappers from BlockDriverState to
BlockBackend.

Wrapper calls in block.c change from

bdrv_dev_FOO_cb(bs, ...)

to

if (bs->blk) {
bdrv_dev_FOO_cb(bs->blk, ...);
}

No change, because both bdrv_dev_change_media_cb() and
bdrv_dev_resize_cb() do nothing when no device model is attached, and
a device model can be attached only when bs->blk.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>