|
I'm having issues getting a QEMU console to appear after starting more than one QEMU host. If I start both at once using the GNS3 Green GO button nothing happens. If I right click one and click Start I get a QEMU console and the image boots. If I try and right click and stop it I get from the qemuwrapper.exe:
Unable to stop Qemu instance QEMU1 Access is denied.
So if I close the QEMU terminal by mistake, I have no way of reopening it. I have to delete the host and create a new one and start it to get a QEMU console window and access to the linux box again.
I tried running qemuwrapper.exe as Administrator and it let me stop/start my Qemu host. Each time I restarted it I got a Qemu console window and my host booted into the linux-microcore image.
HOWEVER. If I create a second Qemu host in GNS3 and start it, I get no Qemu console, no interface to the host. Also I cannot stop the second host, qemuwrapper.exe tells me "access is denied". So I can start/stop the first instance, but if I create 2 machines I have no control over the second...
Here I started 2 host using a copy of the same image. So two separate identical instances. I started Qemu host1 and got a Qemu console, showed the device booting, etc. I started the second Qemu host and recieved no Qemu console, no way to access the host. I then shut down the first Qemu host (no errors), then tried to shut down the second (access denied.)
Qemu Emulator Wrapper (version 0.3) Copyright (c) 2007-2009 Thomas Pani & Jeremy Grossmann
Qemu TCP control server started (port 10525). Connection from ('127.0.0.1', 1344) Connection from ('127.0.0.1', 1345) Shutdown in progress... Shutdown completed. Qemu path is now C:\CiscoLab\Qemu-0.12.2\qemu.exe Qemu-img path is now C:\CiscoLab\Qemu-0.12.2\qemu-img.exe !! QEMU1.console = 3000 !! QEMU1.netcard = e1000 !! QEMU1.image = C:\CiscoLab\linux-microcore-2.10(2).img !! QEMU1.ram = 64 !! QEMU1.options = -no-acpi command: ['C:\\CiscoLab\\Qemu-0.12.2\\qemu.exe', '-m', '64', 'C:\\CiscoLab\\ Qemu-0.12.2\\QEMU1\\FLASH', '-hdb', 'C:\\CiscoLab\\Qemu-0.12.2\\QEMU1\\SWAP', '- net', 'nic,vlan=0,macaddr=00:00:ab:cd:ef:00,model=e1000', '-net', 'nic,vlan=1,ma caddr=00:00:ab:cd:ef:01,model=e1000', '-net', 'nic,vlan=2,macaddr=00:00:ab:cd:ef :02,model=e1000', '-net', 'nic,vlan=3,macaddr=00:00:ab:cd:ef:03,model=e1000', '- net', 'nic,vlan=4,macaddr=00:00:ab:cd:ef:04,model=e1000', '-net', 'nic,vlan=5,ma caddr=00:00:ab:cd:ef:05,model=e1000', '-serial', 'telnet:127.0.0.1:3000,server,n owait', '-no-acpi'] pid: 5524 Setting priority class to BELOW_NORMAL Connection from ('127.0.0.1', 1348) !! QEMU2.console = 3001 !! QEMU2.netcard = e1000 !! QEMU2.image = C:\CiscoLab\linux-microcore-2.10.img !! QEMU2.ram = 64 !! QEMU2.options = -no-acpi command: ['C:\\CiscoLab\\Qemu-0.12.2\\qemu.exe', '-m', '64', 'C:\\CiscoLab\\ Qemu-0.12.2\\QEMU1\\FLASH', '-hdb', 'C:\\CiscoLab\\Qemu-0.12.2\\QEMU1\\SWAP', '- net', 'nic,vlan=0,macaddr=00:00:ab:cd:ef:00,model=e1000', '-net', 'nic,vlan=1,ma caddr=00:00:ab:cd:ef:01,model=e1000', '-net', 'nic,vlan=2,macaddr=00:00:ab:cd:ef :02,model=e1000', '-net', 'nic,vlan=3,macaddr=00:00:ab:cd:ef:03,model=e1000', '- net', 'nic,vlan=4,macaddr=00:00:ab:cd:ef:04,model=e1000', '-net', 'nic,vlan=5,ma caddr=00:00:ab:cd:ef:05,model=e1000', '-serial', 'telnet:127.0.0.1:3000,server,n owait', '-no-acpi'] pid: 3952 Setting priority class to BELOW_NORMAL command: ['C:\\CiscoLab\\Qemu-0.12.2\\qemu.exe', '-m', '64', 'C:\\CiscoLab\\ Qemu-0.12.2\\QEMU2\\FLASH', '-hdb', 'C:\\CiscoLab\\Qemu-0.12.2\\QEMU2\\SWAP', '- net', 'nic,vlan=0,macaddr=00:00:ab:cd:ef:00,model=e1000', '-net', 'nic,vlan=1,ma caddr=00:00:ab:cd:ef:01,model=e1000', '-net', 'nic,vlan=2,macaddr=00:00:ab:cd:ef :02,model=e1000', '-net', 'nic,vlan=3,macaddr=00:00:ab:cd:ef:03,model=e1000', '- net', 'nic,vlan=4,macaddr=00:00:ab:cd:ef:04,model=e1000', '-net', 'nic,vlan=5,ma caddr=00:00:ab:cd:ef:05,model=e1000', '-serial', 'telnet:127.0.0.1:3001,server,n owait', '-no-acpi'] pid: 6124 Setting priority class to BELOW_NORMAL Unable to stop Qemu instance QEMU2 Access is denied.
Whichever device is started first, whether Qemu host 1 or 2, when I start the second I get no Qemu console.
I can't telnet into my Linux machine either. (Is this even supported?)
Microsoft Telnet> open 127.0.0.1 3002 Connecting To 127.0.0.1...
However, if I close my Qemu host I get:
Disconnected from host! Press any key to continue...
So it's like it's connecting but the Linux box isn't doing anything.
I'd like to be able to run multiple host in my configuration. Right now I can't get the host to talk to the router as my previous post shows. I am trying to test two host talking to each other but cannot create two concurrent host.
|