mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-02 04:15:46 +00:00
* src/xml.c: another patch from David Lutterkort fixing a typo
when generating physical block devices descriptions. Daniel
This commit is contained in:
parent
a720116103
commit
0742c9313e
@ -1,3 +1,8 @@
|
|||||||
|
Sat Mar 4 09:59:13 CET 2006 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
|
* src/xml.c: another patch from David Lutterkort fixing a typo
|
||||||
|
when generating physical block devices descriptions.
|
||||||
|
|
||||||
Sat Mar 4 09:56:18 CET 2006 Daniel Veillard <veillard@redhat.com>
|
Sat Mar 4 09:56:18 CET 2006 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* libvirt.spec.in: applied patch from David Lutterkort adding
|
* libvirt.spec.in: applied patch from David Lutterkort adding
|
||||||
|
@ -656,9 +656,9 @@ virDomainParseXMLDiskDesc(xmlNodePtr node, virBufferPtr buf) {
|
|||||||
virBufferVSprintf(buf, "(uname 'file:%s')", source);
|
virBufferVSprintf(buf, "(uname 'file:%s')", source);
|
||||||
else if (typ == 1) {
|
else if (typ == 1) {
|
||||||
if (source[0] == '/')
|
if (source[0] == '/')
|
||||||
virBufferVSprintf(buf, "(uname 'phys:%s')", source);
|
virBufferVSprintf(buf, "(uname 'phy:%s')", source);
|
||||||
else
|
else
|
||||||
virBufferVSprintf(buf, "(uname 'phys:/dev/%s')", source);
|
virBufferVSprintf(buf, "(uname 'phy:/dev/%s')", source);
|
||||||
}
|
}
|
||||||
if (ro == 0)
|
if (ro == 0)
|
||||||
virBufferVSprintf(buf, "(mode 'w')");
|
virBufferVSprintf(buf, "(mode 'w')");
|
||||||
|
Loading…
Reference in New Issue
Block a user