mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
Thu Apr 12 15:18:00 BST 2007 Richard Jones <rjones@redhat.com>
* src/libvirt.c: set VIR_CONNECT_RO on read-only connections. Patch by S.Sakamoto.
This commit is contained in:
parent
1ec25df269
commit
dfe570a9ef
@ -1,3 +1,8 @@
|
|||||||
|
Thu Apr 12 15:18:00 BST 2007 Richard Jones <rjones@redhat.com>
|
||||||
|
|
||||||
|
* src/libvirt.c: set VIR_CONNECT_RO on read-only connections.
|
||||||
|
Patch by S.Sakamoto.
|
||||||
|
|
||||||
Wed Apr 11 18:04:00 CEST 2007 Daniel Veillard <veillard@redhat.com>
|
Wed Apr 11 18:04:00 CEST 2007 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* src/xend_internal.c src/xml.c: applied patch from Nobuhiro Itou
|
* src/xend_internal.c src/xml.c: applied patch from Nobuhiro Itou
|
||||||
|
@ -302,6 +302,10 @@ do_open (const char *name, int flags)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (flags & VIR_DRV_OPEN_RO) {
|
||||||
|
ret->flags = VIR_CONNECT_RO;
|
||||||
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
failed:
|
failed:
|
||||||
|
Loading…
Reference in New Issue
Block a user