>Ah, you are using curses... I've been putting logs onto stderr for simplicity, 
>not the proper qemu logs. Here is a fixed patch to get output in the log.

OK, I have an interesting development that I hope will shed some light on the 
problem.
This configuration works using a different image (nslookup succeeds and I can 
see your debug output):

[mfonnemann@desktopPC qemu]$ /usr/local/bin/qemu-system-i386 -display curses 
-readconfig works.cfg --enable-kvm
                   [mfonnemann@localhost ~]$ nslookup www.google.com
                   UDP packet for DNS server
                                            translating 302000a against ffffff 
302000a
                                                                                
      it's an alias
                                                                                
                   it's DNS
                                                                                
                           dns_addr is cached: 1020204
               got Server:conf entr10.0.2.3.1'
                   Address:        10.0.2.3#53

                   Non-authoritative answer:
                   Name:   www.google.com
                   Address: 172.217.10.68
 [mfonnemann@desktopPC qemu]$ cat works.cfg
[drive]
  format = "raw"
  file = "fc5.img"

[drive]
  format = "vhdx"
  file = "placeholder2.vhdx"

[drive]
  format = "raw"
  file = "swap_512m.img"

[drive]
  format = "vhdx"
  file = "placeholder.vhdx"

[machine]
  usb = "on"

[memory]
  size = "2G"

[smp-opts]
  cpus = "2"

But my original one still does not:

[mfonnemann@desktopPC qemu]$ /usr/local/bin/qemu-system-i386 -display curses 
-readconfig NG.cfg --enable-kvm
root@qemu:~# nslookup www.google.com
                   *** Unknown host

                   nslookup: www.google.com: Unknown host
                   root@qemu:~# 
[mfonnemann@desktopPC qemu]$ cat NG.cfg
[drive]
  format = "raw"
  file = "qemu_rootfs_512.img"

[drive]
  format = "raw"
  file = "placeholder2.vhdx"

[drive]
  format = "raw"
  file = "swap_512m.img"

[drive]
  format = "vhdx"
  file = "placeholder.vhdx"

[machine]
  usb = "on"
  initrd = "initrd-2.6.11.12.img.gz"
  kernel = "vmlinuz-2.6.11.12-vanilla.bz"
  append = "root=/dev/hda"

[memory]
  size = "2G"

[smp-opts]
  cpus = "2"

Both are using static IP addresses.

Mark.

Reply via email to