]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: domain: Add macro to simplify access to vm private data
authorPeter Krempa <pkrempa@redhat.com>
Wed, 14 Sep 2016 05:28:18 +0000 (07:28 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 21 Sep 2016 14:32:36 +0000 (16:32 +0200)
commit63aac8c299ed19866495d3b83d3c5d851af152d2
treece94fec211141cd8d52c988fe19af5b649912809
parent4cc65b4967b80339110a3e82cc2e7a4451410619
qemu: domain: Add macro to simplify access to vm private data

Sometimes adding a separate variable to access vm->privateData is not
necessary. Add a macro that will do the typecasting rather than having
to add a temp variable to force the compiler to typecast it.
src/qemu/qemu_domain.h