[libvirt] [PATCH] Add logic for handling systemd-machined non-existance
Eric Blake
eblake at redhat.com
Tue Jul 23 16:37:12 UTC 2013
On 07/23/2013 07:53 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> If systemd machine does not exist, return -2 instead of -1,
> so that applications don't need to repeat the tedious error
> checking code
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> src/util/virsystemd.c | 13 ++++++++++-
> tests/virsystemdmock.c | 14 +++++++----
> tests/virsystemdtest.c | 63 +++++++++++++++++++++++++++++++++++---------------
> 3 files changed, 66 insertions(+), 24 deletions(-)
>
ACK
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130723/4d3eb6b0/attachment-0001.sig>
More information about the libvir-list
mailing list