qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Upgrade from 0.11.0 to 2.9.0


From: Schmidt, Alexander
Subject: [Qemu-discuss] Upgrade from 0.11.0 to 2.9.0
Date: Tue, 19 Sep 2017 17:50:43 +0000

Hi All,

This is my first time using the mailing list. I have been using QEMU 0.11.0 for 
an awfully long time with QEMU manager. My host machine is windows 10. Running 
such a dated version of QEMU have become increasingly problematic. Some KB 
updates break support and others restore support. Most recently KB4038788 
caused several of my VMs to stop working.

To remedy this problem I have decided it's finally time to update QEMU. For now 
I am targeting 2.9.0 as it is the latest final release and it still backwards 
compatible with some of the old command line arguments I am using.  For the 
most part I have been able to update all my commands to use the recommend 
options.

I am struggling to update one command for a powerpc machine.

Host: Windows 10 64-bits latest version. i7 CPU
Guest: Debian 5.0 PPC

The command QEMU manager used was:
"C:\qman70\qemu\qemu-system-ppc.exe" -L "C:\qman70\qemu" -M "g3beige" -m 1024 
-vga std -serial vc -parallel vc -name "Debian-5.0-PPC" -drive 
"file=C:\qman70\images\Debian-5.0-PPC.qcow2,index=0,media=disk" -boot 
order=c,menu=off -soundhw ac97 -net 
nic,vlan=0,macaddr=52-54-00-4A-E7-F7,model=rtl8139 -net user,vlan=0 -redir 
tcp:10022::22 -hwnd 528058 -monitor telnet:127.0.0.1:60001,server,nowait 
-localtime

I have been able to craft a command which works:
"C:\Program Files (x86)\qemu\qemu-system-ppc.exe" -boot menu=off -m 1G -drive 
"file=C:\qman70\images\Debian-5.0-PPC.qcow2,index=0,media=disk" -snapshot -net 
nic,vlan=0,macaddr=52-54-00-4A-E7-F7,model=e1000 -net user,vlan=0 -redir 
tcp:10022::22 -g 1024x768x8

But this generates deprecation warnings
C:\Program Files (x86)\qemu\qemu-system-ppc.exe: -redir tcp:10022::22: The 
-redir option is deprecated. Please use '-netdev user,hostfwd=...' instead.
C:\Program Files (x86)\qemu\qemu-system-ppc.exe: -net 
nic,vlan=0,macaddr=52-54-00-4A-E7-F7,model=e1000: 'vlan' is deprecated. Please 
use 'netdev' instead.

The interface comes up and I see a message during the boot up which reads:
[] e100: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow 
Control: RX

When I try to update the command to the following I no longer received 
deprecation warnings but I can no longer SSH into the VM using port 10022.
"C:\Program Files (x86)\qemu\qemu-system-ppc.exe" -device e1000,netdev=net0 
-boot menu=off -m 1G -drive 
"file=C:\qman70\images\Debian-5.0-PPC.qcow2,index=0,media=disk" -snapshot 
-netdev user,id=net0,hostfwd=tcp::10022-:22 -g 1024x768x8

The interface doesn't come up and I see a message during the boot up which 
reads:
eth1: ERROR while getting interface flags: no such device
eth1: ERROR while getting interface flags: no such device


I have also tried the using "rtl8139" for the network interface model type. It 
didn't work either.

I used the options "-device e1000,netdev=net0" and "-netdev 
user,id=net0,hostfwd=tcp::10022-:22" on my other VMs, i386 and x86_64, it works 
just as expected. I took this information directly from the wiki.  
https://wiki.qemu.org/Documentation/Networking#How_to_get_SSH_access_to_a_guest

Am I making any mistakes with the command line arguments?

Regards,

AS
Notice: This e-mail and any files transmitted with it may contain Data Device 
Corporation's privileged and proprietary information. It is intended solely for 
the use of the individual or entity to whom it is addressed. If you are not the 
named recipient of this transmission, any disclosure, copying, distribution or 
reliance on the contents of this message is prohibited. If you received this 
e-mail in error, please destroy it and any attached files and notify me 
immediately.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]