aboutsummaryrefslogtreecommitdiff
path: root/block_int.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-11 15:20:29 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-11 15:20:29 +0000
commitb0a7b120a357733d9c554a1a3b125991114a1135 (patch)
treeffbfbcd4bb19dd5b6f2e047a47668e35f715f62a /block_int.h
parentb01b11113c32425e888139d8e99e699f90da3a8d (diff)
downloadqemu-b0a7b120a357733d9c554a1a3b125991114a1135.zip
qemu-b0a7b120a357733d9c554a1a3b125991114a1135.tar.gz
qemu-b0a7b120a357733d9c554a1a3b125991114a1135.tar.bz2
qemu: record devfn on block driver instance (Marcelo Tosatti)
Record PCIDev on the BlockDriverState structure to locate for release on hot-removal. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6597 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block_int.h')
-rw-r--r--block_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/block_int.h b/block_int.h
index e83fd2c..781789c 100644
--- a/block_int.h
+++ b/block_int.h
@@ -127,6 +127,7 @@ struct BlockDriverState {
int type;
char device_name[32];
BlockDriverState *next;
+ void *private;
};
struct BlockDriverAIOCB {