Displaying 3 results from an estimated 3 matches for "7f06c69".
Did you mean:
70c69
2017 Apr 28
0
[PATCH] launch: Error if you try to launch with too many drives.
...iar failures. Now you'll
get a clear error message:
$ virt-rescue --scratch=256
libguestfs: error: too many drives have been added, the current backend only supports 255 drives
---
lib/launch.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/lib/launch.c b/lib/launch.c
index 7f06c69..a977db5 100644
--- a/lib/launch.c
+++ b/lib/launch.c
@@ -55,12 +55,23 @@ static struct backend {
int
guestfs_impl_launch (guestfs_h *g)
{
+ int r;
+
/* Configured? */
if (g->state != CONFIG) {
error (g, _("the libguestfs handle has already been launched"));
return...
2017 May 02
2
[PATCH v2] launch: Error if you try to launch with too many drives.
v1 was here:
https://www.redhat.com/archives/libguestfs/2017-April/msg00268.html
v1 broke some tests because the guestfs_max_disks API isn't supported
by some backends, specifically ?unix:?. This makes failure of
guestfs_max_disks non-fatal.
Rich.
2017 May 02
0
[PATCH v2] launch: Error if you try to launch with too many drives.
...failures. Now you'll
get a clear error message:
$ virt-rescue --scratch=256
libguestfs: error: too many drives have been added, the current backend only supports 255 drives
---
lib/launch.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/lib/launch.c b/lib/launch.c
index 7f06c69..37ab024 100644
--- a/lib/launch.c
+++ b/lib/launch.c
@@ -55,12 +55,27 @@ static struct backend {
int
guestfs_impl_launch (guestfs_h *g)
{
+ int r;
+
/* Configured? */
if (g->state != CONFIG) {
error (g, _("the libguestfs handle has already been launched"));
return...