mirror of https://gitee.com/openkylin/libvirt.git
parent
b76154744c
commit
c1a9be4c1b
|
@ -1,3 +1,7 @@
|
||||||
|
Mon Nov 3 16:52:12 CET 2008 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
|
* src/qemu_driver.c: oops trailing blanks
|
||||||
|
|
||||||
Mon Nov 03 12:37:00 CET 2008 Chris Lalancette <clalance@redhat.com>
|
Mon Nov 03 12:37:00 CET 2008 Chris Lalancette <clalance@redhat.com>
|
||||||
* src/storage_backend.c src/storage_backend.h
|
* src/storage_backend.c src/storage_backend.h
|
||||||
src/storage_backend_disk.c src/storage_backend_iscsi.c
|
src/storage_backend_disk.c src/storage_backend_iscsi.c
|
||||||
|
|
|
@ -2830,7 +2830,7 @@ static int qemudDomainDetachPciDiskDevice(virDomainPtr dom, virDomainDeviceDefPt
|
||||||
|
|
||||||
if (detach->slotnum < 1) {
|
if (detach->slotnum < 1) {
|
||||||
qemudReportError(dom->conn, dom, NULL, VIR_ERR_OPERATION_FAILED,
|
qemudReportError(dom->conn, dom, NULL, VIR_ERR_OPERATION_FAILED,
|
||||||
_("disk %s cannot be detached - invalid slot number %d"),
|
_("disk %s cannot be detached - invalid slot number %d"),
|
||||||
detach->dst, detach->slotnum);
|
detach->dst, detach->slotnum);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
@ -2853,7 +2853,7 @@ static int qemudDomainDetachPciDiskDevice(virDomainPtr dom, virDomainDeviceDefPt
|
||||||
* nothing is printed on success */
|
* nothing is printed on success */
|
||||||
if (strstr(reply, "invalid slot")) {
|
if (strstr(reply, "invalid slot")) {
|
||||||
qemudReportError (dom->conn, dom, NULL, VIR_ERR_OPERATION_FAILED,
|
qemudReportError (dom->conn, dom, NULL, VIR_ERR_OPERATION_FAILED,
|
||||||
_("failed to detach disk %s: invalid slot %d"),
|
_("failed to detach disk %s: invalid slot %d"),
|
||||||
detach->dst, detach->slotnum);
|
detach->dst, detach->slotnum);
|
||||||
ret = -1;
|
ret = -1;
|
||||||
goto out;
|
goto out;
|
||||||
|
|
Loading…
Reference in New Issue