]> xenbits.xensource.com Git - libvirt.git/commit
libvirt-domain: forbid use virDomainRename in readonly connection
authorLuyao Huang <lhuang@redhat.com>
Mon, 17 Aug 2015 05:22:00 +0000 (13:22 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 17 Aug 2015 16:43:17 +0000 (12:43 -0400)
commit2b3fb38fab6b648d1a97bdb68ffd2c92872803c2
treefb269782ba9947e357f2d6056873adda3e37995a
parentb2da1d453f38396ad039ee723f8f0aa7f07da8e2
libvirt-domain: forbid use virDomainRename in readonly connection

This function will change the guest name, we shouldn't
allow the readonly user do this.

Signed-off-by: Luyao Huang <lhuang@redhat.com>
src/libvirt-domain.c