All of lore.kernel.org
 help / color / mirror / Atom feed
From: "mar.krzeminski" <mar.krzeminski@gmail.com>
To: "qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	Peter Crosthwaite <crosthwaitepeter@gmail.com>
Subject: [Qemu-devel] Arm virtual machine networking problem with build for 64bit host
Date: Sat, 10 Oct 2015 22:34:23 +0200	[thread overview]
Message-ID: <5619764F.3030304@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]

Hello,

I have my own virtual machine (already asked some questions about that 
here).
I also have my own gmac model. I am building qemu (version 2.4.0.1) for 
32 and 64 linux hosts.
The problem is with 64 bit binary. If I run as guest under qemu linux, I 
could not even ping my machine.
In 32 bit version it works fine. And if I run in this 64 bit host u-boot 
pingf from u-boot qorks fine.
 From debugging it seems that under linux (32 bit arm) started on 64 
linux host can_receive function from my model,
is called only once when virtual machine is booting, there is no 
furthers call so that is why I can not ping.
I am running qemu in this way (based on yocto scripts):

/qemu-system-arm -kernel zImage.bin -net nic,vlan=0 -net 
tap,vlan=0,ifname=tap0,script=no,downscript=no -M macine-a9 -dtb 
zImage.dtb -serial null -serial null -serial null -serial mon:stdio 
-serial null -nographic -smp 2 -readconfig config -m 512 --append 
"ip=192.168.7.2::192.168.7.1:255.255.255.0 noinitrd console=ttyS3,19200 
earlyprintk debug=31"/

As there is lack of documentation (or maybe there is but I haven't got 
it ), my question is where should I start debugging what is going wrong?
As for now it seems that my model does not receive ping and it is not 
asked if can receive one. Situation is same when I ping from quest the 
host's tap,
or from host guest machine.

Regards,
Marcin

[-- Attachment #2: Type: text/html, Size: 1743 bytes --]

             reply	other threads:[~2015-10-10 20:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-10 20:34 mar.krzeminski [this message]
2015-10-11 12:30 ` [Qemu-devel] Arm virtual machine networking problem with build for 64bit host mar.krzeminski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5619764F.3030304@gmail.com \
    --to=mar.krzeminski@gmail.com \
    --cc=crosthwaitepeter@gmail.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.