* Re: [Qemu-devel] "Could Not Get DNS Address" on OS X
@ 2005-03-24 10:08 Juergen Keil
2005-03-24 12:45 ` Laurent Amon
0 siblings, 1 reply; 3+ messages in thread
From: Juergen Keil @ 2005-03-24 10:08 UTC (permalink / raw)
To: qemu-devel
> I find the precompiled qemu for OS X to mostly work fine, but I get
> 'Could Not Get DNS Address' when I try to run it and am not connected
> to the network. As my entire interest in Qemu is to try to find a way
> to test x86 programs when I can't ssh to an x86 linux server, this is
> kind of a downer.
>
> Does Qemu really require a network connection to run?
No.
> Am I missing some option?
No.
> I tried "--dummy-net", and the option to set the number of NIC cards to 0.
I'm using the following change:
Index: slirp/slirp.c
===================================================================
RCS file: /cvsroot/qemu/qemu/slirp/slirp.c,v
retrieving revision 1.7
diff -u -B -r1.7 slirp.c
--- slirp/slirp.c 7 Oct 2004 23:27:35 -0000 1.7
+++ slirp/slirp.c 24 Mar 2005 09:56:46 -0000
@@ -149,7 +149,8 @@
if (get_dns_addr(&dns_addr) < 0) {
fprintf(stderr, "Could not get DNS address\n");
- exit(1);
+ // exit(1);
+ inet_aton("127.0.0.1", &dns_addr);
}
inet_aton(CTL_SPECIAL, &special_addr);
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] "Could Not Get DNS Address" on OS X
@ 2005-03-24 7:58 Niko Matsakis
0 siblings, 0 replies; 3+ messages in thread
From: Niko Matsakis @ 2005-03-24 7:58 UTC (permalink / raw)
To: qemu-devel
I find the precompiled qemu for OS X to mostly work fine, but I get
'Could Not Get DNS Address' when I try to run it and am not connected
to the network. As my entire interest in Qemu is to try to find a way
to test x86 programs when I can't ssh to an x86 linux server, this is
kind of a downer.
Does Qemu really require a network connection to run? Am I missing
some option? I tried "--dummy-net", and the option to set the number
of NIC cards to 0.
Niko
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-03-24 13:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-24 10:08 [Qemu-devel] "Could Not Get DNS Address" on OS X Juergen Keil
2005-03-24 12:45 ` Laurent Amon
-- strict thread matches above, loose matches on Subject: below --
2005-03-24 7:58 Niko Matsakis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).