Hello.
It's my first time here, so I'm so sorry if I make mistakes with how I'm
sending or posting this.
I wanted to ask about some problems I've found with other people, working
with libvirt. We wanted to create a new virtual machine under MIPS
architecture, using Qemu and libvirt. We are able to create the machine,
and it boots, but never gets an IP. I'll leave the commands we've used, for
the case someone knows what could be wrong.
Qemu commands:
libvirt+ 41690 25.0 11.5 837532 147992 ? Sl 14:15 0:04
/usr/bin/qemu-system-mips -name guest=MIPS_32,debug-threads=on -S -object
secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-137-MIPS_32/master-key.aes
-machine malta,accel=tcg,usb=off,dump-guest-core=off -m 256 -realtime
mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid
eef94af7-4f20-4a00-9ae9-9b4133c1783b -display none -no-user-config
-nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-137-MIPS_32/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown
-boot strict=on -kernel ~/vmlinux -append root=/dev/hda -device
piix3-usb-uhci,id=usb,bus=pci,addr=0x2 -drive
file=~/rootfs.ext2,format=raw,if=none,id=drive-ide0-0-0 -device
ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1
-netdev tap,fd=26,id=hostnet0 -device
pcnet,netdev=hostnet0,id=net0,mac=52:54:00:09:a4:38,bus=pci,addr=0x1
-device virtio-balloon-pci,id=balloon0,bus=pci,addr=0x3 -device pcnet
-netdev user,id=net1 -msg timestamp=on
Thanks anyway!!!