2010/11/12 Daniel P. Berrange <berrange@xxxxxxxxxx>: > On Fri, Nov 12, 2010 at 02:03:34PM +0100, Matthias Bolte wrote: >> This makes the storage driver fail when the connection is >> opened with the VIR_CONNECT_RO flag, resulting in a read-only >> connection with no storage driver. >> --- >> Âsrc/phyp/phyp_driver.c | Â Â4 +--- >> Â1 files changed, 1 insertions(+), 3 deletions(-) >> >> diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c >> index a685bd1..4c723a2 100644 >> --- a/src/phyp/phyp_driver.c >> +++ b/src/phyp/phyp_driver.c >> @@ -3927,10 +3927,8 @@ phypDomainSetCPU(virDomainPtr dom, unsigned int nvcpus) >> Âstatic virDrvOpenStatus >> ÂphypVIOSDriverOpen(virConnectPtr conn, >> Â Â Â Â Â Â Â Â Â Â virConnectAuthPtr auth ATTRIBUTE_UNUSED, >> - Â Â Â Â Â Â Â Â Â int flags) >> + Â Â Â Â Â Â Â Â Â int flags ATTRIBUTE_UNUSED) >> Â{ >> - Â ÂvirCheckFlags(0, VIR_DRV_OPEN_ERROR); >> - >> Â Â Âif (conn->driver->no != VIR_DRV_PHYP) >> Â Â Â Â Âreturn VIR_DRV_OPEN_DECLINED; >> > > ACK > > Daniel Thanks, pushed. Matthias -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list