On Thu, Jun 28, 2018 at 03:55:32PM +0200, Pascal wrote:> hello, > > I'd like to have "juste" guestmount in my toolkit to mount hvd/vhdx images, > so I try to compile libguestfs with a minimum of dependencies : where can i > get help to get there without polluting github etc ?You can email libguestfs@redhat.com (no need to subscribe). The instructions for compiling from source are here: http://libguestfs.org/guestfs-building.1.html although libguestfs is included in most Linux distros. Not sure what an "hvd" image is, but qemu (which we use to access disk images) supports vhdx, although it may be that writing to vhdx is not very reliable because it won't be well tested. I would keep backups of your disk images while trying it out anyhow. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
in fact, it was vhd and not hvd. if I understand correctly, guestmount uses qemu to allow the host to access the contents of the virtual machine disk : it makes it live to access its disk ? thank you for answering. 2018-06-28 16:30 GMT+02:00 Richard W.M. Jones <rjones@redhat.com>:> On Thu, Jun 28, 2018 at 03:55:32PM +0200, Pascal wrote: > > hello, > > > > I'd like to have "juste" guestmount in my toolkit to mount hvd/vhdx > images, > > so I try to compile libguestfs with a minimum of dependencies : where > can i > > get help to get there without polluting github etc ? > > You can email libguestfs@redhat.com (no need to subscribe). > > The instructions for compiling from source are here: > > http://libguestfs.org/guestfs-building.1.html > > although libguestfs is included in most Linux distros. > > Not sure what an "hvd" image is, but qemu (which we use to access disk > images) supports vhdx, although it may be that writing to vhdx is not > very reliable because it won't be well tested. I would keep backups > of your disk images while trying it out anyhow. > > Rich. > > -- > Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~ > rjones > Read my programming and virtualization blog: http://rwmj.wordpress.com > Fedora Windows cross-compiler. Compile Windows programs, test, and > build Windows installers. Over 100 libraries supported. > http://fedoraproject.org/wiki/MinGW >
On Fri, Jun 29, 2018 at 09:15:55AM +0200, Pascal wrote:> in fact, it was vhd and not hvd. > if I understand correctly, guestmount uses qemu to allow the host to access > the contents of the virtual machine disk : it makes it live to access its > disk ? > thank you for answering.It works like this: http://libguestfs.org/guestfs-internals.1.html#architecture Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top