]> git.ipfire.org Git - thirdparty/libvirt.git/commit
maint: Fix use of invalid reboot flags
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 28 Nov 2012 16:31:14 +0000 (17:31 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 28 Nov 2012 16:45:30 +0000 (17:45 +0100)
commit4ded3fb1c24bd906eb0c927bf51aaec64bec135d
tree6a1174b1ae567e1355f6c8bceedbf099bb39ad7a
parent39ad0001ca183ec7ad3b9ffed830ab2df7e3fc71
maint: Fix use of invalid reboot flags

Throughout the code, we've always used VIR_DOMAIN_SHUTDOWN* flags
even for virDomainReboot() API and its implementation. Fortunately,
the appropriate macros has the same value. But if we want to keep
things consistent, we should be using the correct macros. This
patch doesn't break anything, luckily.
src/libvirt.c
src/qemu/qemu_driver.c
tools/virsh-domain.c