I tried to run the most recent official android-x86 with virtio driver on kvm, but it couldn't get the ip address. I ran in the debug mode and dhcp timedout. Here are the screen shots of the outputs:
![](https://lh3.googleusercontent.com/-YwYpqtqgN1w/WVnbI1Lep7I/AAAAAAAABTs/mQi1s84stBY8ec5OQq9W2RZ38sbns_eUACLcBGAs/s320/Screenshot-167.png)
![](https://lh3.googleusercontent.com/-JMpZXVZMeEM/WVnbNrUQKzI/AAAAAAAABTw/R9QjANPBxnkxYRiSJXZx31fBJ70KmzQjwCLcBGAs/s320/Screenshot-168.png)
I think the version has the virtio drivers.
I ran qemu with the following command:
# qemu-system-x86_64 -enable-kvm -m 4G -hda naugat-pre.img -vga std -netdev type=tap,script=no,id=net0 -device virtio-net-pci,netdev=net0
If I ran without virtio driver, it can get ip address successfully, like
# qemu-system-x86_64 -enable-kvm -m 4G -hda naugat-pre.img -vga std -netdev
Any idea how I can debug this problem? Or any steps or configs that I'm missing?
Let me know if you need more information.
Thanks!
Philip