[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [4838] Allow QEMU to connect directly to an NBD server,
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-devel] [4838] Allow QEMU to connect directly to an NBD server, by Laurent Vivier. |
Date: |
Fri, 04 Jul 2008 10:01:32 +0200 |
Le vendredi 04 juillet 2008 à 03:34 +0100, Thiemo Seufer a écrit :
> chenqing wrote:
> > > +#include <sys/types.h>
> > > +#include <unistd.h>
> > > +#include <sys/socket.h>
> > > +#include <sys/un.h>
> > > +#include <netinet/in.h>
> > > +#include <arpa/inet.h>
> > > +#include <pthread.h>
> >
> > Maybe you should wrap these with "#ifndef _WIN32", I get an error on
> > windows:
> >
> > nbd.c:24:23: warning: sys/ioctl.h: No such file or directory
> > nbd.c:27:24: warning: sys/socket.h: No such file or directory
> > nbd.c:28:20: warning: sys/un.h: No such file or directory
> > nbd.c:29:24: warning: netinet/in.h: No such file or directory
> > nbd.c:30:25: warning: netinet/tcp.h: No such file or directory
> > nbd.c:31:23: warning: arpa/inet.h: No such file or directory
> > nbd.c:32:19: warning: netdb.h: No such file or directory
>
> Hm, how much of nbd.c works on windows?
Except the part of NBD client using kernel module, NBD should works
(it's only networking).
Regards,
Laurent
--
------------- address@hidden ---------------
"The best way to predict the future is to invent it."
- Alan Kay
- [Qemu-devel] [PATCH] Fix compilation of nbd on Windows, (continued)
- [Qemu-devel] [PATCH] Fix compilation of nbd on Windows, Johannes Schindelin, 2008/07/04
- Re: [Qemu-devel] [PATCH] Fix compilation of nbd on Windows, Filip Navara, 2008/07/05
- Re: [Qemu-devel] [PATCH] Fix compilation of nbd on Windows, Jamie Lokier, 2008/07/05
- Re: [Qemu-devel] [PATCH] Fix compilation of nbd on Windows, Johannes Schindelin, 2008/07/05
- Re: [Qemu-devel] [PATCH] Fix compilation of nbd on Windows, Jamie Lokier, 2008/07/06
- Re: [Qemu-devel] [PATCH] Fix compilation of nbd on Windows, Johannes Schindelin, 2008/07/06
- Re: [Qemu-devel] [PATCH] Fix compilation of nbd on Windows, Anthony Liguori, 2008/07/08
- Re: [Qemu-devel] [PATCH] Fix compilation of nbd on Windows, Johannes Schindelin, 2008/07/08
- [Qemu-devel] Re: [PATCH] Fix compilation of nbd on Windows, Sebastian Herbszt, 2008/07/18
- Re: [Qemu-devel] Re: [PATCH] Fix compilation of nbd on Windows, Johannes Schindelin, 2008/07/18
- Re: [Qemu-devel] [4838] Allow QEMU to connect directly to an NBD server, by Laurent Vivier.,
Laurent Vivier <=