qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] Upgrade from 0.11.0 to 2.9.0


From: Schmidt, Alexander
Subject: Re: [Qemu-discuss] Upgrade from 0.11.0 to 2.9.0
Date: Fri, 22 Sep 2017 18:30:19 +0000

Hi Thomas,

Thank you for the help. Great first guess! Adding the MAC address fixed the 
issue.

What is your rationale behind upgrading to 2.9.1 or 2.10.0? Do you think it 
will fix the issue and not require the MAC address to be provided? In either 
case I can't update yet as Mr. Weil has not yet compiled win32 binaries for 
those versions.

Regards,
AS

-----Original Message-----
From: Thomas Huth [mailto:address@hidden
Sent: Wednesday, September 20, 2017 1:13 AM
To: Schmidt, Alexander; address@hidden
Subject: Re: [Qemu-discuss] Upgrade from 0.11.0 to 2.9.0

 Hi,

On 19.09.2017 19:50, Schmidt, Alexander wrote:
[...]
> 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

The new command line looks ok to me at a first glance. Blind guess:
Maybe the issue is simply that the network card has a new MAC address now? Try:

  -device e1000,netdev=net0,mac=52:54:00:4A:E7:F7

 HTH,
  Thomas


PS: I recommend to either use version 2.9.1 or 2.10.0 instead of 2.9.0 if 
possible.
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]