summaryrefslogtreecommitdiffstats
path: root/include/sysemu/kvm.h
diff options
context:
space:
mode:
authorChunyan Liu2014-06-05 11:21:12 +0200
committerStefan Hajnoczi2014-06-16 11:23:21 +0200
commit98d896d978eef0fd6ff8d93a1ccea34e00b97f8c (patch)
tree1c2a049cb1aebe3fe24aec7494dde091351aac6d /include/sysemu/kvm.h
parentcleanup QEMUOptionParameter (diff)
downloadqemu-98d896d978eef0fd6ff8d93a1ccea34e00b97f8c.tar.gz
qemu-98d896d978eef0fd6ff8d93a1ccea34e00b97f8c.tar.xz
qemu-98d896d978eef0fd6ff8d93a1ccea34e00b97f8c.zip
QemuOpts: cleanup tmp 'allocated' member from QemuOptsList
Now only qemu_opts_append uses 'allocated' to indicate free memory. For this function only, we can also let result list's (const char *) members point to input list's members, only if the input list has longer lifetime than result list. In current code, that is true. So, we can remove the 'allocated' member from QemuOptsList definition to keep code clean. Signed-off-by: Chunyan Liu <cyliu@suse.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/sysemu/kvm.h')
0 files changed, 0 insertions, 0 deletions