[Libguestfs] [PATCH] gitignore: ignore the guestfs.* directory

2011-12-22 Thread Wanlong Gao
Let git ignore the guestfs.* directorys. Signed-off-by: Wanlong Gao --- .gitignore |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index dcf2af1..4d4556e 100644 --- a/.gitignore +++ b/.gitignore @@ -367,3 +367,4 @@ tools/virt-*.pl /gnulib .git-m

Re: [Libguestfs] Updated Windows P2V migration recipe 2011-1209

2011-12-22 Thread Greg Scott
>On 12/10/2011 04:12 AM, Greg Scott wrote: >> Windows RHEV P2V Cookbook draft 2011-1209 >> >> 1. Install 32 bit Fedora 16 as a virtual machine or physical host. You >> will use this system to >> build a .ISO file to burn to CD. Later in the process, you'll boot a source >> physical machine fro

[Libguestfs] [PATCH] extra-tests: add test-guests to prevent test error

2011-12-22 Thread Wanlong Gao
extra-tests is depending on tests-guests. We need guests/*.img when doing extra-tests. /work/git/libguestfs/run valgrind --log-file=/work/git/libguestfs/tests/extra/valgrind.log --leak-check=full --error-exitcode=119 --suppressions=/work/git/libguestfs/tests/extra/suppressions ../../cat/virt-ca

Re: [Libguestfs] [PATCH v2] mkfs: optimization and code cleanup

2011-12-22 Thread Wanlong Gao
Hi Rich: Will you review this? Thanks -Wanlong Gao > v1->v2: fix a typo pointed by Matt > > Optimizations by reducing the STREQ operations and do some > code cleanup. > > Signed-off-by: Wanlong Gao > --- > daemon/mkfs.c | 29 + > 1 files changed, 13 insertions(+

Re: [Libguestfs] [PATCH] blkid: remove the -o export option

2011-12-22 Thread Wanlong Gao
On 12/23/2011 12:36 AM, Richard W.M. Jones wrote: > On Thu, Dec 22, 2011 at 02:19:47PM +0800, Wanlong Gao wrote: >> The -o export option is the default, so remove this useless option. >> >> Signed-off-by: Wanlong Gao >> --- >> daemon/blkid.c |4 ++-- >> 1 files changed, 2 insertions(+), 2 de

[Libguestfs] [PATCH] Security: Mitigate possible privilege escalation via SG_IO ioctl (CVE-2011-4127, RHBZ#757071)

2011-12-22 Thread Richard W.M. Jones
From: "Richard W.M. Jones" CVE-2011-4127 is a serious qemu & kernel privilege escalation bug found by Paolo Bonzini. http://seclists.org/oss-sec/2011/q4/536 An untrusted guest kernel is able to issue special SG_IO ioctls on virtio devices which qemu passes through to the host kernel without fil

Re: [Libguestfs] FYI: Changes to test directory names

2011-12-22 Thread Richard W.M. Jones
This has been done (in 1.15.12). It probably breaks a few things ... 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

Re: [Libguestfs] [PATCH] blkid: remove the -o export option

2011-12-22 Thread Richard W.M. Jones
On Thu, Dec 22, 2011 at 02:19:47PM +0800, Wanlong Gao wrote: > The -o export option is the default, so remove this useless option. > > Signed-off-by: Wanlong Gao > --- > daemon/blkid.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/daemon/blkid.c b/daemon/blkid

Re: [Libguestfs] [PATCH] Fixed checks for libpython features

2011-12-22 Thread Richard W.M. Jones
On Sat, Dec 10, 2011 at 10:16:55PM +0100, Hilko Bengen wrote: > The python3.1 package shipped with Debian/squeeze does not have the > 'mu' suffix that was assumed before. Thanks -- applied. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11:

[Libguestfs] FYI: Changes to test directory names

2011-12-22 Thread Richard W.M. Jones
I'm going to rename some test directories to make the names more logical: * caution -> tests/qemu This directory contains tests of qemu (safety and liveness). 'make check' will be changed so that this directory is tested first. At present, 'make check' happens to build images/ first which