similar to: any read/write raw image function or API in Python?

Displaying 20 results from an estimated 1200 matches similar to: "any read/write raw image function or API in Python?"

2017 Jul 12
0
Re: any read/write raw image function or API in Python?
On Wednesday, 12 July 2017 10:45:35 CEST 陳培泓 wrote: > I know there's lots of functions that can access/modify the internal fs of > img or qcow2 through libguestfs. > > I want to know is there any library can modify the raw/qcow2 image directly > in Python? > > For example, there's function called read_qcow2(), and I can know the > content of tmp.qcow2 through the
2017 Jul 13
1
compression method for qcow2?
I found guestfs_compress_out do the compression to gzip, bzip2, compress...etc. I want to compress qcow2, and I found details about qcow2 compression in https://people.gnome.org/~markmc/qcow-image-format.html The QCOW format supports compression by allowing each cluster to be > independently compressed with zlib. Can I do that with guestfs_compress_out?
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of local disk. Rich.
2017 Jul 12
1
questions about python examples
I followed the examples 1 and 2 in http://libguestfs.org/guestfs-python.3.html I create disk img by example 1 and use example 2 to inspect the img. I got error in the line: > g.inspect_os() : no operating systems found. how could fix it? any examples to create os in python?
2017 Jul 19
1
Is thread-safe for pread_device in python?
I want to test performance on reading one 1GB qcow2 file in python I create multiple threads and read the qcow2 file by pread_device function in python. And these threads share the same guest handler and device Is pread_device thread-safe? My result always shows pread_device can't get reply and corrupted
2017 Nov 20
3
[nbdkit PATCH 0/2] Add nbd forwarder test coverage
To avoid bitrot, any new feature needs testsuite coverage ;) Still to come: once I get my work on parallel nbd finished, I will add a test-parallel-nbd.sh that closely mirrors what my other series added in test-parallel-file.sh. If desired, it might be a fun exercise to tweak test-nbd into using a for-loop of user-controlled depth for how deep you want to nest the forwarding tree, to see where
2008 Sep 28
3
Stubdom and blktap
Recently we had a try of stubdom, whose general status is good. One issue we found is with aio/sync blktap as backend, disk performance is obviously slower, and there are some IDE kernel error messages (like irq timeout) at boot time. Another issue (not stubdom specific) comes from blktap''s support for QCOW image which is based on a backing file. We never tried this configure
2009 Feb 26
8
GPL PV TAP cow incompatible?
Hi Is it true that the GPLPV drivers is incompatible with QCOW images? The Windows DomU works fine with raw standard "file:/" images, and paravirtualized Linux DomU works fine with QCOW and raw images. If i use QCOW images with my Windows DomU''s i get a stop error: 0x00000007b (inaccessible boot device). It looks like the blkback.3.hda process, that normally starts with
2008 Jun 30
2
c/s 17913: Breakage on *BSD
Hi! Changeset 17913 breaks build on *BSD: block-qcow.c:36:20: error: gcrypt.h: No such file or directory cc1: warnings being treated as errors block-qcow.c: In function ''gen_cksum'': block-qcow.c:160: warning: implicit declaration of function ''gcry_md_hash_buffer'' block-qcow.c:160: error: ''GCRY_MD_MD5'' undeclared (first use in this function)
2006 Jun 19
24
[PATCH] Blktap: Userspace file-based image support. (RFC)
Attached to this email is a patch containing the (new and improved) blktap Linux driver and associated userspace tools for Xen. In addition to being more flavourful, containing half the fat, and removing stains twice as well as the old driver, this stuff adds a userspace block backend and let you use raw (without loopback), qcow, and vmdk-based image files for your domUs. There''s also a
2007 Jun 21
19
Writing a tool for Shared Persistent Windows Boot Image
Before, in my "Hard Problem" email I was trying to communicate a design issue were trying to solve with Xen. This is what we need to do: 1) Deploy 24 Windows XP VMs in parallel. 2) Boot them from a shared Windows XP C: drive. 3) Since this is a read-only shared image we obviously can''t have multiple VM''s writing to it. 4) All writes to the boot image for logging,
2007 Jun 21
19
Writing a tool for Shared Persistent Windows Boot Image
Before, in my "Hard Problem" email I was trying to communicate a design issue were trying to solve with Xen. This is what we need to do: 1) Deploy 24 Windows XP VMs in parallel. 2) Boot them from a shared Windows XP C: drive. 3) Since this is a read-only shared image we obviously can''t have multiple VM''s writing to it. 4) All writes to the boot image for logging,
2013 May 08
9
blktap2 and qcow2 images
Hi There, I''ve been trying to get this to work for the last couple of days, but found no information on the internet that would help. Essentially, a tap-ctl opencommand with a qcow2 image does not work (error code 2) and produces the following line in syslog: tap-ctl: tap-err:tap_ctl_open: open failed, err -2 I have attached a shell script that reproduces the problem on my machine. The
2013 Jan 25
4
[PATCH 0/3] Use __attribute__((cleanup(...)))
This patch series changes a small part of the library to use __attribute__((cleanup(...))) to automatically free memory when pointers go out of the current scope. In general terms this seems to be a small win although you do have to use it carefully. For functions where you can completely get rid of the "exit code paths", it can simplify things. For a good example, see the
2008 Apr 24
9
Xen HVM images on VMware ESX
Hi everyone, I''m trying to convert some Xen HVM images to run on VMware ESX, unsuccessfully thus far. I believe the problem is that ESX by default wants the VMs to use SCSI virtual disks, but my HVM VMs are configured to use IDE virtual disks. If you have any experience with this sort of thing, please get in touch. Thanks! Diwaker -- http://floatingsun.net/
2006 Oct 31
11
Dell 2900 with Xen
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, someone are using Dell 2900 and PERC5 controller with Xen? I want to test this server with 24GB RAM, 7 discs 15000 RPM SCSI and 2 processors. If someone could tell me if this hardware works great with Xen, will be nice. Thanks. Lucas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla -
2017 Apr 04
2
Live migration with non-shared ZFS volume
Hi all, I'm using ZFS on Linux block volumes as my VM storage and want to do live migrations between hypervisors. If I create ZFS snapshot of used volume on source host, send it do destination host (zfs send/recv) and then run live migration with VIR_MIGRATE_NON_SHARED_DISK flag, the migration works OK. But this procedure copies the whole disk twice which is a huge downside. The best
2016 Jan 11
1
[PATCH] Add support for newstyle NBD protocol (RHBZ#1297100).
Experimental and only very lightly tested so far. Rich.
2012 Jun 06
1
tcltk wish: Add tclObj.raw method for converting raw vectors to tclObj
Greetings, I have submitted a bug report / wish to the R Bug tracker (https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14939), but I'd like to make this request here as well. Essentially, I was wondering if it would be possible to add another c routine to be called by as.TclObj for raw vectors. Right now, as.raw() is supported for objects of type "tclObj" (IIRC this change was
2011 Apr 18
0
raw.convs raw.types
Hello. I do not know if this is a debian thing or a CUPS thing... but I have set up my printers with raw queues as stated in chapter 22 of the Samba docs. But, I noticed that there is no mime.convs and mime.types in my /etc/cups. Rather, there are two files named raw.convs and raw.types. By default they hold the exact lines in them that Chapter 22 states they should have (already