All of lore.kernel.org
 help / color / mirror / Atom feed
From: Programmingkid <programmingkidx@gmail.com>
To: Thomas Huth <thuth@redhat.com>
Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>,
	qemu-devel qemu-devel <qemu-devel@nongnu.org>,
	Samuel Thibault <samuel.thibault@ens-lyon.org>
Subject: Re: [Qemu-devel] Is anyone able to load a web page from a guest operating system?
Date: Tue, 26 Apr 2016 16:19:22 -0400	[thread overview]
Message-ID: <7516025E-F08C-4DD4-B1D1-E822C96B7B0A@gmail.com> (raw)
In-Reply-To: <571FCBBF.8020405@redhat.com>


On Apr 26, 2016, at 4:12 PM, Thomas Huth wrote:

> On 26.04.2016 21:25, Programmingkid wrote:
>> 
>> On Apr 26, 2016, at 3:00 PM, Dr. David Alan Gilbert wrote:
>> 
>>> * Programmingkid (programmingkidx@gmail.com) wrote:
>>>> My three guest operating systems can't load a web page. I think this is a bug with QEMU. Is there anyone who has the latest revision of QEMU that can access the web from a guest? Or are you experiencing the same problem?
>>> 
>>> Works here.
>> So you are using a very recent version of QEMU? Maybe something that was pulled in the last day or so?
>> 
>>> Now - how about some basic debug!
>>> Does your guest see a network card?
>> yes
>> 
>>> Does DNS work?
>> Doesn't look like it. If I use just an ip address it still doesn't work.
>> 
>>> Does ping work?
>> I can ping the virtual router at 10.0.2.2. Any other ip address fails. 
> 
> That's normal for user-mode / slirp networking. You can't ping external
> hosts with this mode.
> 
>>> Does a telnet/ssh from the guest work?
>> telnet www.google.com 80     failed
>> Didn't have an address to use ssh on.
>> 
>>> What's the qemu command line you use?
>> qemu-system-ppc -hda <hd1> -hdb <hd2> -m 512 -boot c -M mac99 -netdev user,id=mynet0 -device usb-net,netdev=mynet0 -cpu 750 -prom-env boot-args=-v -device ich9-usb-uhci1,id=newusb -device usb-audio,bus=newusb.0 
>> 
>> and
>> 
>> qemu-system-ppc -hda <hd1> -hdb <hd2> -m 512 -boot c -M mac99 -netdev user,id=mynet0 -device rtl8139,netdev=mynet0 -cpu 750 -prom-env boot-args=-v -device ich9-usb-uhci1,id=newusb -device usb-audio,bus=newusb.0 
> 
> Ok, that means you're using user-mode / slirp networking.
> I just tried it with a pseries guest, and it seems to be working fine
> for me with the current git version of QEMU (f419a626c76bcb266).

So you are saying you can view web pages on your guest?

> 
> Now, what kind of host do you use? Mac OS X? 
Yes. Mac OS 10.6.

> Also can you determine a revision when it was still working fine for
> you? (and then maybe even bisect the problem?)

I will see what I can find out.

  reply	other threads:[~2016-04-26 20:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-26 16:14 [Qemu-devel] Is anyone able to load a web page from a guest operating system? Programmingkid
2016-04-26 19:00 ` Dr. David Alan Gilbert
2016-04-26 19:25   ` Programmingkid
2016-04-26 20:12     ` Thomas Huth
2016-04-26 20:19       ` Programmingkid [this message]
2016-04-27  6:34         ` Thomas Huth
2016-04-28  0:25           ` Programmingkid
2016-04-28 12:04             ` Samuel Thibault
2016-04-28 12:18             ` Samuel Thibault
2016-04-28 16:45               ` Programmingkid
2016-04-27 10:05       ` Laszlo Ersek
2016-04-27 10:26         ` Thomas Huth
2016-04-27 11:01           ` Laszlo Ersek

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=7516025E-F08C-4DD4-B1D1-E822C96B7B0A@gmail.com \
    --to=programmingkidx@gmail.com \
    --cc=dgilbert@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=samuel.thibault@ens-lyon.org \
    --cc=thuth@redhat.com \
    /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.