]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Make sure all command line arguments get passed to UML
authorSoren Hansen <soren@linux2go.dk>
Thu, 12 Aug 2010 13:42:34 +0000 (15:42 +0200)
committerEric Blake <eblake@redhat.com>
Sat, 14 Aug 2010 16:35:33 +0000 (10:35 -0600)
commit3ad8cbd3bef617bae42426c6697d21e930cb9bb1
treee1434384f66760797c4aa44562f963901c16f2e0
parent753d76e0cd3554acb6c087d1ce3a2aa6f1dda203
Make sure all command line arguments get passed to UML

If umlBuildCommandLineChr fails (e.g. due to an unsupported chardev
type), it returns NULL. umlBuildCommandLine does not check for this and
sets this as an argument on the comand line, effectively ending the
argument list. This patch checks for this case and sets the chardev to
"none".

Signed-off-by: Soren Hansen <soren@linux2go.dk>
src/uml/uml_conf.c