]> Git Repo - qemu.git/commit
blockdev: Remove 'type' parameter from blockdev_init()
authorKevin Wolf <[email protected]>
Sun, 9 Feb 2014 08:52:32 +0000 (09:52 +0100)
committerStefan Hajnoczi <[email protected]>
Fri, 14 Feb 2014 12:04:56 +0000 (13:04 +0100)
commitee13ed1cbc5f7f848e417f587c93ca1f36d83eb0
tree9114c95040c0994cfd7f78ba2267cc7048a02718
parent1a838745b80ec6bcb3f78ce38aa1ccf1efc9f937
blockdev: Remove 'type' parameter from blockdev_init()

blockdev-add doesn't know about the device that the backend will be
attached to, this is a legacy -drive concept. Move the remaining checks
that use it to drive_init().

[Fam Zheng <[email protected]> suggested line-wrapping to 80 chars as
required by the coding standard.  I have fixed this.
--Stefan]

Signed-off-by: Kevin Wolf <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
blockdev.c
This page took 0.023441 seconds and 4 git commands to generate.