]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: add private ptr to option parser
authorSasha Levin <levinsasha928@gmail.com>
Wed, 5 Sep 2012 08:31:43 +0000 (10:31 +0200)
committerPekka Enberg <penberg@kernel.org>
Wed, 5 Sep 2012 13:22:36 +0000 (16:22 +0300)
commitee9cc8b9c5e30293d5544a52049fef2c3aae1241
treebfb0b753f8dc8aa9266419a823517b140b9100fd
parent221b584996f44349cd75150ef2eea0adcf2fab33
kvm tools: add private ptr to option parser

Support passing a private ptr to CALLBACK options. This will make it possible
assigning options into specific struct kvms by passing them directly to parsers.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/builtin-run.c
tools/kvm/include/kvm/parse-options.h