]> xenbits.xensource.com Git - libvirt.git/commit
parallels: cleanup parallelsOpen and fix error message
authorDmitry Guryanov <dguryanov@parallels.com>
Mon, 13 Aug 2012 15:50:13 +0000 (19:50 +0400)
committerDaniel Veillard <veillard@redhat.com>
Wed, 15 Aug 2012 08:39:36 +0000 (16:39 +0800)
commit9fbefc540d258640ad5bf9587432291fe5440f72
treee2d1fcb6bb6bb8e6b763c5d7d9f2ac64c8360064
parent4aaa5a723d13fa29fdbd3c604cdce0cb84ec8e6a
parallels: cleanup parallelsOpen and fix error message

Do some cleanup of parallelsOpen, STREQ_NULLABLE can replace
a lot of checks.

Also fix error message to be VIR_ERR_INTERNAL_ERROR, the same
as in other drivers.

Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
src/parallels/parallels_driver.c