[PATCH] daemon/Win32: Use gnulib modules for first porting to Win32.
Quite a victory for Gnulib here. I was able to port a large part of the daemon just by adding some modules and fixing a few headers. The remaining issues which are *not* fixed are: * No chroot on Windows. * No sync(2) call. * No posix_fallocate call. * No futimes call. * No pread call. * No custom printf format specifiers. * Quite a few problems in guestfsd.c, eg. code to run external commands. * No readlinkat call (use Gnulib {a,x}readlinkat instead?) * No xdr_uint32_t in PortableXDR. * Missing external commands. * Test it. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v
On Fri, Nov 20, 2009 at 11:58:35AM +0000, Richard W.M. Jones wrote:
The remaining issues which are *not* fixed are:
While I remember, the other issue is device naming. Actually we're not in such a bad state here, since we *already* do crazy device renaming stuff[1][2]. So we just need to extend this to handle Win32. Rich. [1] http://libguestfs.org/guestfs.3.html#block_device_naming [2] http://git.annexia.org/?p=libguestfs.git;a=blob;f=daemon/guestfsd.c;h=067c91... -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v
participants (1)
-
Richard W.M. Jones