Displaying 9 results from an estimated 9 matches for "qemu_drive_param".
2012 Jun 12
5
[PATCH 0/5] Assorted patches to add virtio-scsi support.
These assorted patches end up with adding virtio-scsi support to
libguestfs.
It passes libguestfs-test-tool, but I haven't yet tried to run the
full set of tests.
In theory > 26 devices can be added, but it's likely that certain
parts of the daemon will break if you actually try this. This of
course needs to be fixed.
Thanks Paolo Bonzini for invaluable help.
Rich.
2012 Jun 12
9
[PATCH v2 0/9]
More comprehensive support for virtio-scsi. Passes all the tests.
Rich.
2012 Apr 12
5
[PATCH 0/4] libguestfs cannot open disk images which are symlinks to files that contain ':' (colon) character (RHBZ#812092).
Note: This is a regression in RHEL 6.3. Please review this patch
urgently.
The description of the bug is here:
https://bugzilla.redhat.com/show_bug.cgi?id=812092
This patch set attempts to fix the problem conservatively, because
it's a very high risk codepath and very late in the development of
RHEL 6.3.
The first patch reverts the behaviour of calling realpath(3) and
checking for
2013 Mar 15
0
[PATCH] lib: Add direct support for the NBD (Network Block Device) protocol.
...estfs_h *g)
return g->app.virtio_scsi == 1;
}
+/* Convert a struct drive into a qemu -drive parameter. Note that if
+ * using virtio-scsi, then the code above adds a second -device
+ * parameter to connect this drive to the SCSI HBA, as is required by
+ * virtio-scsi.
+ */
static char *
qemu_drive_param (guestfs_h *g, const struct drive *drv, size_t index)
{
- size_t i;
- size_t len = 128;
- const char *p;
- char *r;
+ CLEANUP_FREE char *file = NULL, *escaped_file = NULL;
+ size_t i, len;
const char *iface;
+ char *p, *ret;
+
+ /* Make the file= parameter. */
+ switch (drv->protoco...
2012 Oct 08
5
[PATCH v4 0/5] Finish hotplugging support.
This rounds off hotplugging support by allowing you to add and remove
drives at any stage (before and after launch).
Rich.
2012 Jul 21
8
[PATCH libguestfs 0/4] Add a libvirt backend to libguestfs.
This preliminary patch series adds a libvirt backend to libguestfs.
It's for review only because although it launches the guest OK, there
are some missing features that need to be implemented.
The meat of the patch is in part 4/4.
To save you the trouble of interpreting libxml2 fragments, an example
of the generated XML and the corresponding qemu command line are
attached below. Note the
2012 Oct 08
3
[PATCH v3 0/3] Add support for disk labels and hotplugging.
This is, I guess, version 3 of this patch series which adds disk
labels and hotplugging (only hot-add implemented so far).
The good news is .. it works!
Rich.
2013 Aug 24
46
[PATCH 00/46] Proposed patches for libguestfs 1.20.11.
Tested with 'make check-release'.
tests/parallel (in check-slow) failed, although it does regularly and
that seems to be because of libvirt.
Rich.
2013 Aug 24
67
[PATCH 00/67] Proposed patches for libguestfs 1.22.6.
In the kernel and qemu communities it is routine for patches that will
be backported to stable branches to be posted for review. I'm
proposing we do the same for libguestfs stable branches.
All of the attached have been tested with 'make check-release'.
Rich.