[hivex][PATCH v2] OS X, bootstrap: Locate pkg.m4
                                
                                
                                
                                    
                                        by Alex Nelson
                                    
                                
                                
                                        OS X does not include pkg-config by default.  This causes ./configure
to fail when invoking PKG_CHECK_MODULES for libxml2.
This change autodetects the path for aclocal, c/o RWMJ noting the real
problem is a deficiency in aclocal on OS X.
Signed-off-by: Alex Nelson <ajnelson(a)cs.ucsc.edu>
---
 bootstrap |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bootstrap b/bootstrap
index b2960c1..52c05d5 100755
--- a/bootstrap
+++ b/bootstrap
@@ -86,4 +86,4 @@ $gnulib_tool			\
   --import $modules
 
 # Disable autopoint and libtoolize, since they were already done above.
-AUTOPOINT=true LIBTOOLIZE=true autoreconf --verbose --install
+AUTOPOINT=true LIBTOOLIZE=true ACLOCAL_PATH=$(aclocal --print-ac-dir) autoreconf --verbose --install
-- 
1.7.3.1
                                
                         
                        
                                
                                13 years, 4 months
                        
                        
                 
         
 
        
            
        
        
        
            
        
        
        
                
                        
                                
                                
                                        
                                
                         
                        
                                
                                
                                        
                                                
                                        
                                        
                                        Re: [Libguestfs] virt-resize
                                
                                
                                
                                    
                                        by Richard W.M. Jones
                                    
                                
                                
                                        [Please keep replies on the list so that others can benefit
from the answers]
On Mon, Jun 25, 2012 at 07:13:49AM -0500, Dan The Man wrote:
> Hmmm well I beleive the only way I can think to do it is enlarge the lv
> in linux as usual , then have to boot into freebsd , modify the
> partition table for rest of sectors and use the growfs command, even
> that is problematic seeing the partition cannot be mounted
> regardless. Might be worth reading source code to growfs.c in
> freebsd source tree or just trying a zfs root install to see if it
> happens automatically.
> 
> I did have a question after playing more with linux virtualization
> maybe you could shed some light on, I was wondering how to mount
> lv's inside guests.
> 
> cappy:~# ls /dev/mapper
> control  virtual-centos  virtual-centos_new  virtual-freebsd
> virtual-freebsd_new  virtual-windows7  virtual-windows8
> cappy:~# virsh start centos
> Domain centos started
> 
> cappy:~# kpartx -av /dev/virtual/centos
> add map virtual-centos1 (253:6): 0 512000 linear /dev/virtual/centos 2048
> add map virtual-centos2 (253:7): 0 20457472 linear
> /dev/virtual/centos 514048
> cappy:~# ls /dev/mapper
> control  virtual-centos  virtual-centos1  virtual-centos2
> virtual-centos_new  virtual-freebsd  virtual-freebsd_new
> virtual-windows7 virtual-windows8
> cappy:~# virt-filesystems --long --parts --blkdevs -h -a
> /dev/virtual/centos
> Name       Type       Size  Parent
> /dev/sda1  partition  250M  /dev/sda
> /dev/sda2  partition  9.8G  /dev/sda
> /dev/sda   device     10G   -
> cappy:~# virt-filesystems -lh -a /dev/virtual/centos
> Name               Type        VFS   Label  Size
> /dev/sda1          filesystem  ext4  -      250M
> /dev/virtual/root  filesystem  ext4  -      7.8G
> cappy:~# mount /dev/mapper/virtual-centos1 /centos
> 
> OK but now how do I mount that /dev/virtual/root since its a lvm on
> /dev/sda2 ?
With libguestfs you'd use guestmount to do this:
  guestmount -a /dev/virtual/centos -m /dev/virtual/root /tmp/mnt
There's no need to use kpartx.
Rich.
-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org
                                
                         
                        
                                
                                13 years, 4 months
                        
                        
                 
         
 
        
            
        
        
        
                
                        
                                
                                
                                        
                                
                         
                        
                                
                                
                                        
                                                
                                        
                                        
                                        Re: [Libguestfs] libguestfs and RHEV
                                
                                
                                
                                    
                                        by Richard W.M. Jones
                                    
                                
                                
                                        On Fri, Jun 22, 2012 at 12:57:40PM +0000, Davis, Richard wrote:
> I see that the libguestfs packages are included in the RHEV
> Hypervisor product.
>
> Are there any plans to further integrate the libguestfs toolset into
> the RHEV product ?  In particular, the ability to mount and change
> raw volume content for a VM via guestfish ?
Yes there are plans to do this, but no public timelines yet that I'm
aware of.  You might be better asking this question on one of the
oVirt lists, since that is now where development happens:
http://lists.ovirt.org/mailman/listinfo
> It would be very nice to be able to mount a RHEV template and make
> an alteration without having to boot a VM and create a fresh
> template from it.
[...]
*If* you are certain that the VM is not running, and you know its
UUID, then it's possible to go into the RHEV storage and modify it
directly.  I can't remember the details but it was fairly obvious how
VMs are mapped onto logical volumes by UUID.
> BTW  - Are you doing RH Summit again this year ?
Not this year, but perhaps next year.
Rich.
-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
                                
                         
                        
                                
                                13 years, 4 months
                        
                        
                 
         
 
        
            
        
        
        
                
                        
                        
                                
                                
                                        
                                                
                                        
                                        
                                        Notice: libguestfs < 1.16 are now out of support
                                
                                
                                
                                    
                                        by Richard W.M. Jones
                                    
                                
                                
                                        
As announced two months ago[1], and since RHEL 6.3 is about to be
released, I have deprecated the older branches of libguestfs (1.8,
1.10, 1.12, 1.14).
These old branches are archived and will no longer receive any bug
fixes or security fixes.
libguestfs 1.16 and 1.18 are now the only supported stable branches,
and it is recommended that everyone upgrades to them.  They should be
completely backwards compatible with the older versions -- if you spot
any change that isn't backwards compatible then file a bug.
Rich.
[1] https://www.redhat.com/archives/libguestfs/2012-April/msg00121.html
-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
                                
                         
                        
                                
                                13 years, 4 months
                        
                        
                 
         
 
        
            
        
        
        
                
                        
                                
                                
                                        
                                
                         
                        
                                
                                
                                        
                                                
                                        
                                        
                                        guestfish1.7.17 does not support qemu-kvm1.0.93?
                                
                                
                                
                                    
                                        by xingxing gao
                                    
                                
                                
                                        Hi,all,i build qemu-kvm1.0.93  from source code on centos6.2 ,
# qemu-system-x86_64 --version
QEMU emulator version 1.0.93 (qemu-kvm-devel), Copyright (c) 2003-2008
Fabrice Bellard
and the guestfish's version:
# guestfish --version
guestfish 1.7.17
but when i use the guestfish command to upload a file to a vm,it does not work ,
# guestfish --rw -i -d centosvm upload /test/ifcfg-eth0_centos
/etc/sysconfig/network-scripts/ifcfg-eth0
the command doesnot return any error massage and keep running till i
press crtl+c.
i build qemu-kvm like bellow:
./configure --target-list=x86_64-softmmu \
            --prefix=/usr/local/qemu-kvm \
            --sysconfdir=/etc \
            --audio-drv-list=alsa \
            --audio-card-list=ac97,es1370 \
            --disable-strip \
            --disable-xen \
            --enable-virtfs \
            --block-drv-whitelist=qcow2,raw,file,host_device,host_cdrom,qed \
            --disable-debug-tcg \
            --disable-sparse \
            --enable-werror \
            --disable-sdl \
            --disable-curses \
            --disable-curl \
            --enable-vnc \
            --enable-vnc-tls \
            --enable-vnc-sasl \
            --disable-brlapi \
            --disable-bluez \
            --disable-docs \
            --disable-vde \
            --enable-linux-aio \
            --enable-kvm \
            --enable-spice \
            --enable-kvm-device-assignment \
            --enable-trace-backend=dtrace \
            --enable-smartcard \
            --disable-smartcard-nss \
            --disable-guest-agent
could anyone give some help?thanks.
                                
                         
                        
                                
                                13 years, 4 months
                        
                        
                 
         
 
        
            
        
        
        
                
                        
                                
                                
                                        
                                
                         
                        
                                
                                
                                        
                                                
                                        
                                        
                                        FYI: 'oldlinux' branch created
                                
                                
                                
                                    
                                        by Richard W.M. Jones
                                    
                                
                                
                                        I've created an "oldlinux" branch in github:
  https://github.com/libguestfs/libguestfs/commits/oldlinux
The idea of this branch is that it contains patches to make libguestfs
work on older versions of Linux that:
 - *don't* have virtio-serial in qemu/kernel
 - have ancient autotools
Specifically we're targeting RHEL 5 (ca. 2007) and not anything older.
This branch is fairly brutal: for example it completely deletes some
bindings that I didn't try very hard to get working.
Notes:
(1) This branch is not fast-forward.  I will rewrite history at will,
particularly as I move patches upstream and rebase the branch against
the head.
(2) I will try to cherry pick patches that make general sense upstream
in order to keep the oldlinux branch as close as possible to the
development (master) branch.
Rich.
-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
                                
                         
                        
                                
                                13 years, 4 months
                        
                        
                 
         
 
        
            
        
        
        
            
        
        
        
                
                        
                        
                                
                                
                                        
                                                
                                        
                                        
                                        [PATCH v2 0/9]
                                
                                
                                
                                    
                                        by Richard W.M. Jones
                                    
                                
                                
                                        More comprehensive support for virtio-scsi.  Passes all the tests.
Rich.
                                
                         
                        
                                
                                13 years, 4 months
                        
                        
                 
         
 
        
            
        
        
        
                
                        
                        
                                
                                
                                        
                                                
                                        
                                        
                                        [PATCH 0/5] Assorted patches to add virtio-scsi support.
                                
                                
                                
                                    
                                        by Richard W.M. Jones
                                    
                                
                                
                                        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.
                                
                         
                        
                                
                                13 years, 4 months