Displaying 8 results from an estimated 8 matches for "diskhandle".
2011 Jul 26
0
qemu: could not load kernel '/var/tmp/.guestfs-1000/kernel.6941': Permission denied
...stfs-1000/kernel.6941': Permission denied
libguestfs: trace: launch = -1 (error)
Traceback (most recent call last):
File "get_result.py", line 3, in <module>
guest_disk = DiskOperations("PYTI.vdi")
File "/usr/local/lib/python2.7/dist-packages/pyti/vmanager/diskhandler.py", line 20, in __init__
self.disk_fs.launch()
File "/usr/lib/pymodules/python2.7/guestfs.py", line 188, in launch
return libguestfsmod.launch (self._o)
RuntimeError: unexpected end of file when reading from daemon
libguestfs: trace: close
The problem is almost certainl...
2011 Jun 16
1
Comment on libguestfs code in https://bitbucket.org/swamiyeswanth/pyti
Yeswanth, I'm looking at:
https://bitbucket.org/swamiyeswanth/pyti/src/2b3a7401eccf/diskhandler.py
from this thread: http://librelist.com/browser//pyti/2011/6/13/disk-handler/
(1) I don't think the code you posted will work unless you move line
23 ('launch') up to just after you've added the drive (after line 12).
(2) You probably don't want to use 'add_drive'....
2019 Apr 05
1
Re: [PATCH nbdkit] vddk: Add support for VIXDISKLIB_FLAG_OPEN_SINGLE_LINK
On Fri, Apr 05, 2019 at 02:19:25PM +0200, Martin Kletzander wrote:
> On Fri, Apr 05, 2019 at 10:33:05AM +0100, Richard W.M. Jones wrote:
> >From: Martin Kletzander <mkletzan@redhat.com>
> >
> >Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
>
> Just to mention, this is not complete yet. The disk needs to be opened as
> SINGLE_LINK only for the
2019 Mar 20
0
[PATCH nbdkit 7/8] vddk: Implement extents.
...ead) (VixDiskLibHandle handle, uint64_t start_sector, uint64_t nr_sectors, unsigned char *buf);
static VixError (*VixDiskLib_Write) (VixDiskLibHandle handle, uint64_t start_sector, uint64_t nr_sectors, const unsigned char *buf);
+static VixError (*VixDiskLib_QueryAllocatedBlocks) (VixDiskLibHandle diskHandle, uint64_t start_sector, uint64_t nr_sectors, uint64_t chunk_size, VixDiskLibBlockList **block_list);
+static VixError (*VixDiskLib_FreeBlockList) (VixDiskLibBlockList *block_list);
/* Parameters passed to InitEx. */
#define VDDK_MAJOR 5
@@ -174,6 +178,11 @@ vddk_load (void)
VixDiskLib_FreeIn...
2019 Mar 20
15
[PATCH nbdkit 0/8] Implement extents using a simpler array.
Not sure what version we're up to, but this reimplements extents using
the new simpler structure described in this thread:
https://www.redhat.com/archives/libguestfs/2019-March/msg00077.html
I also fixed most of the things that Eric pointed out in the previous
review, although I need to go back over his replies and check I've got
everything.
This needs a bit more testing. However the
2019 Mar 26
21
[PATCH nbdkit v4 00/15] Implement Block Status.
I'm not sure exactly which version we're up to, but let's say it's
version 4.
I'm a lot happier with this version:
- all filters have been reviewed and changed where I think that's necessary
- can_extents is properly defined and implemented now
- NBD protocol is followed
- I believe it addresses all previous review points where possible
The "only" thing
2019 Mar 19
15
[PATCH nbdkit 0/9] [mainly for discussion and early review] Implement extents.
I want to post this but mainly for discussion and early review. It's
not safe for these patches to all go upstream yet (because not all
filters have been checked/adjusted), but if any patches were to go
upstream then probably 1 & 2 only are safe.
File, VDDK, memory and data plugins all work, although I have only
done minimal testing on them.
The current tests, such as they are, all
2019 Mar 28
32
[PATCH nbdkit v5 FINAL 00/19] Implement extents.
This has already been pushed upstream. I am simply posting these here
so we have a reference in the mailing list in case we find bugs later
(as I'm sure we will - it's a complex patch series).
Great thanks to Eric Blake for tireless review on this one. It also
seems to have identified a few minor bugs in qemu along the way.
Rich.