On Wed, 13 Apr 2011, Sasha Levin wrote:
Use ioctls to assign IP address and bring interface up instead of using
ifconfig.
Signed-off-by: Sasha Levin <[email protected]>
I'm seeing this:
penberg@tiger:~/linux/tools/kvm$ make
GEN include/common-cmds.h
CC 8250-serial.o
CC virtio-blk.o
CC virtio-net.o
cc1: warnings being treated as errors
virtio-net.c: In function ‘virtio_net__init’:
virtio-net.c:302: error: dereferencing pointer ‘({anonymous})’ does break
strict-aliasing rules
virtio-net.c:302: note: initialized from here
make: *** [virtio-net.o] Error 1