Searched hist:fa510ebf (Results 1 – 2 of 2) sorted by relevance
/qemu/ |
H A D | blockjob.c | fa510ebf Fri Aug 23 01:14:51 GMT 2013 Fam Zheng <famz@redhat.com> block: use BDS ref for block jobs
Block jobs used drive_get_ref(drive_get_by_blockdev(bs)) to avoid BDS being deleted. Now we have BDS reference count, and block jobs don't care about dinfo, so replace them to get cleaner code. It is also the safe way when BDS has no drive info.
Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
|
H A D | blockdev.c | fa510ebf Fri Aug 23 01:14:51 GMT 2013 Fam Zheng <famz@redhat.com> block: use BDS ref for block jobs
Block jobs used drive_get_ref(drive_get_by_blockdev(bs)) to avoid BDS being deleted. Now we have BDS reference count, and block jobs don't care about dinfo, so replace them to get cleaner code. It is also the safe way when BDS has no drive info.
Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
|