|
From: | Sijia Li |
Subject: | Re: [Qemu-ppc] QEMU powerpc embedded architecture base address problem |
Date: | Mon, 13 May 2013 13:34:58 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
On 13/05/13 11:24, Alexander Graf
wrote:
Sorry for the top post. From now, I will reply email from the end of the mail. I added attributes " -device ppc4xx-pcihost -device ne2k_pci -net tap". Two problems happened: 1. After running the emulator, I use telnet to monitor the VM. When I input the command "info qtree", the result is as following. QEMU 1.4.91 monitor - type 'help' for more information (qemu) info qtree bus: main-system-bus type System dev: ppc4xx-pcihost, id "" irq 4 mmio ffffffffffffffff/0000000000800040 bus: pci.0 type PCI dev: ne2k_pci, id "" mac = 52:54:00:12:34:56 vlan = <null> netdev = <null> bootindex = -1 addr = 01.0 romfile = "efi-ne2k_pci.rom" rombar = 1 multifunction = off command_serr_enable = on class Ethernet controller, addr 00:01.0, pci id 10ec:8029 (sub 1af4:1100) bar 0: i/o at 0xffffffffffffffff [0xfe] bar 6: mem at 0xffffffffffffffff [0x3fffe] dev: ppc4xx-host-bridge, id "" addr = 00.0 romfile = <null> rombar = 1 multifunction = off command_serr_enable = on class Bridge, addr 00:00.0, pci id 1014:027f (sub 1af4:1100) dev: m48t59, id "" size = 8192 model = 8 io_base = 0x0 irq 1 mmio 00000000f0000000/0000000000002000 And the result of "info mtree" is as following: (qemu) info mtree memory 0000000000000000-7ffffffffffffffe (prio 0, RW): system 0000000000000000-0000000007ffffff (prio 0, RW): sdram-containers 0000000000000000-0000000007ffffff (prio 0, RW): ef405ep.ram 00000000ef600000-00000000ef6000d3 (prio 0, RW): gpt 00000000ef600300-00000000ef600307 (prio 0, RW): serial 00000000ef600500-00000000ef600510 (prio 0, RW): i2c 00000000ef600600-00000000ef600601 (prio 0, RW): opba 00000000ef600700-00000000ef600737 (prio 0, RW): pgio 00000000f0000000-00000000f0001fff (prio 0, RW): m48t59.nvram 00000000f0300000-00000000f03000ff (prio 0, RW): fpga 00000000fff00000-00000000fff7ffff (prio 0, RW): ef405ep.sram 00000000fff80000-000000010017ffff (prio 0, R-): ef405ep.bios I/O 0000000000000000-000000000000ffff (prio 0, RW): io aliases Could you help me to find the base address of my NIC "ne2k_pci"? 2. Warning: vlan 0 with no nics Warning: nic ne2k_pci.0 has no peer Two warnings show when I ran the emulator. How can I fix these two warning? Regards Sijia Li |
[Prev in Thread] | Current Thread | [Next in Thread] |