2010/8/23 so...@linux2go.dk:
From: Soren Hansen so...@linux2go.dk
UML supports hot plugging and unplugging of various devices. This patch
exposes this functionality for disks.
Signed-off-by: Soren Hansen so...@linux2go.dk
---
src/uml/uml_driver.c | 239
On 08/24/2010 02:20 PM, Matthias Bolte wrote:
+static int umlDomainAttachUmlDisk(struct uml_driver *driver,
+ virDomainObjPtr vm,
+ virDomainDiskDefPtr disk)
+{
+int i, ret;
+char *cmd = NULL;
+char *reply = NULL;
+
+
On 24-08-2010 22:20, Matthias Bolte wrote:
+if (ret 0)
+goto error;
I was about to push this patch, but compile testing gave this error:
uml/uml_driver.c: In function 'umlDomainAttachUmlDisk':
uml/uml_driver.c:1729: error: 'ret' may be used uninitialized in this
function
2010/8/24 Soren Hansen so...@ubuntu.com:
On 24-08-2010 22:20, Matthias Bolte wrote:
+ if (ret 0)
+ goto error;
I was about to push this patch, but compile testing gave this error:
uml/uml_driver.c: In function 'umlDomainAttachUmlDisk':
uml/uml_driver.c:1729: error: 'ret' may be
From: Soren Hansen so...@linux2go.dk
UML supports hot plugging and unplugging of various devices. This patch
exposes this functionality for disks.
Signed-off-by: Soren Hansen so...@linux2go.dk
---
src/uml/uml_driver.c | 239 +-
1 files changed,
On Mon, Aug 23, 2010 at 11:31:27AM +0200, so...@linux2go.dk wrote:
From: Soren Hansen so...@linux2go.dk
UML supports hot plugging and unplugging of various devices. This patch
exposes this functionality for disks.
Signed-off-by: Soren Hansen so...@linux2go.dk
---
src/uml/uml_driver.c |