qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [ot?] Vista Networking
@ 2006-06-22 19:45 Brian Wheeler
  2006-06-22 19:48 ` Paul Brook
  2006-06-22 21:22 ` [Qemu-devel] Asking about IDE to develop Qemu Tieu Ma Dau
  0 siblings, 2 replies; 7+ messages in thread
From: Brian Wheeler @ 2006-06-22 19:45 UTC (permalink / raw)
  To: qemu-devel

Has anyone gotten this to work?  I'm probably missing something obvious.
Here's the command line I'm using (on linux with a CVS from today):

qemu -hda disk0.img -net nic,model=rtl8139 -net user -m 512 -soundhw
sb16 

Vista is installed and I manually set the IP to 10.0.2.15 and the
gateway to 10.0.2.2.  I set the DNS to 10.0.2.3.  I can't get any
response from the DNS or anything beyond the firewall.

Did I mess up something or is there a bug in user-space networking?

Thanks!
Brian

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [ot?] Vista Networking
  2006-06-22 19:45 [Qemu-devel] [ot?] Vista Networking Brian Wheeler
@ 2006-06-22 19:48 ` Paul Brook
  2006-06-22 22:38   ` Mattia Gentilini (QD)
  2006-06-22 21:22 ` [Qemu-devel] Asking about IDE to develop Qemu Tieu Ma Dau
  1 sibling, 1 reply; 7+ messages in thread
From: Paul Brook @ 2006-06-22 19:48 UTC (permalink / raw)
  To: qemu-devel

On Thursday 22 June 2006 20:45, Brian Wheeler wrote:
> Has anyone gotten this to work?  I'm probably missing something obvious.
> Here's the command line I'm using (on linux with a CVS from today):
>
> qemu -hda disk0.img -net nic,model=rtl8139 -net user -m 512 -soundhw
> sb16

Could be a bug in the rtl8139 emulation. I couldn't get it to work with the 
Realtek drivers.

Paul

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] Asking about IDE to develop Qemu
  2006-06-22 19:45 [Qemu-devel] [ot?] Vista Networking Brian Wheeler
  2006-06-22 19:48 ` Paul Brook
@ 2006-06-22 21:22 ` Tieu Ma Dau
  2006-06-22 21:51   ` Paul Brook
  2006-06-23  6:48   ` Christian MICHON
  1 sibling, 2 replies; 7+ messages in thread
From: Tieu Ma Dau @ 2006-06-22 21:22 UTC (permalink / raw)
  To: qemu-devel

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

Hi all,
  I'm working a project which develops Qemu running on MinGW/MSys but I  don't know which IDE I should use to develop, to test, to debug Qemu  source code:
  1. I should use VC++ on Windows: in this case, I must configure VC++ to  use mingw-gcc (in place of  the default compiler of VC++. In my  opinion, this default compiler will generate binary code for Win32, not  for MSys) to compile Qemu source code and also to use the tools of  MinGW/MSys. 
  2. OR: I should develop Qemu on Linux and use KDevelop IDE. And I can  do all with KDevelop: develop, test, debug Qemu. And if I want Qemu  running on MinGW/MSys, I must transfer the souce code, which were  already developped with KDevelop,  to Windows installed MinGW/MSys  and recompile this source code on MinGW/MSys
  3. OR: other solutions which you use recently to develop, to test and debug Qemu souce code.
  Thank you so much for your supports.
  Thanh
  
 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Asking about IDE to develop Qemu
  2006-06-22 21:22 ` [Qemu-devel] Asking about IDE to develop Qemu Tieu Ma Dau
@ 2006-06-22 21:51   ` Paul Brook
  2006-06-23  6:48   ` Christian MICHON
  1 sibling, 0 replies; 7+ messages in thread
From: Paul Brook @ 2006-06-22 21:51 UTC (permalink / raw)
  To: qemu-devel

> 2. OR: I should develop Qemu on Linux and use KDevelop IDE. 
> And I can  do all with KDevelop: develop, test, debug Qemu. And if I want
> Qemu  running on MinGW/MSys, I must transfer the souce code, which were 
> already developped with KDevelop,  to Windows installed MinGW/MSys  and
> recompile this source code on MinGW/MSys 

Or you could use a cross compiler. qemu cross-builds fine.

Which IDE (if any) you want to use is entirely up to personal preference. Any 
decent IDE should allow you to use the existing makefiles to do the actual 
compilation.

Paul

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [ot?] Vista Networking
  2006-06-22 19:48 ` Paul Brook
@ 2006-06-22 22:38   ` Mattia Gentilini (QD)
  0 siblings, 0 replies; 7+ messages in thread
From: Mattia Gentilini (QD) @ 2006-06-22 22:38 UTC (permalink / raw)
  To: qemu-devel

Paul Brook wrote:
>> qemu -hda disk0.img -net nic,model=rtl8139 -net user -m 512 -soundhw
>> sb16
> Could be a bug in the rtl8139 emulation. I couldn't get it to work with the 
> Realtek drivers.
Unofortunately rtl8139 is the only NIC supported by vista, among those
provided by QEMU. I obtained the best results connecting qemu to a tap
(via vde) and putting a dhcpd listening to that interface: it takes the
IP, it does ping (to anywhere), it doesn't do anything else. And
obviously, winxp with the same interface works perfectly.


-- 
MG55: Mattia Gentilini & 55 Virtual Machines

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Asking about IDE to develop Qemu
  2006-06-22 21:22 ` [Qemu-devel] Asking about IDE to develop Qemu Tieu Ma Dau
  2006-06-22 21:51   ` Paul Brook
@ 2006-06-23  6:48   ` Christian MICHON
  2006-06-23 14:39     ` Tieu Ma Dau
  1 sibling, 1 reply; 7+ messages in thread
From: Christian MICHON @ 2006-06-23  6:48 UTC (permalink / raw)
  To: qemu-devel

On 6/22/06, Tieu Ma Dau <tieumadauy2k@yahoo.com> wrote:
> Hi all,
> I'm working a project which develops Qemu running on MinGW/MSys but I don't
> know which IDE I should use to develop, to test, to debug Qemu source code:

http://www.eclipse.org: generic IDE in java
http://www.eclipse.org/cdt: what will make eclipse become a full C/C++ IDE

--
Christian

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Asking about IDE to develop Qemu
  2006-06-23  6:48   ` Christian MICHON
@ 2006-06-23 14:39     ` Tieu Ma Dau
  0 siblings, 0 replies; 7+ messages in thread
From: Tieu Ma Dau @ 2006-06-23 14:39 UTC (permalink / raw)
  To: qemu-devel

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

Hi all,
I made a new project using Eclipse (and CDT) on Windows  based on Qemu 0.8.1 source code. But I had the problem "config-host.h:  no such file or directory" in vl.h:
  
  #ifdef QEMU_TOOL
  
  /* we use QEMU_TOOL in the command line tools which do not depend on
     the target CPU type */
  #include "config-host.h" //the problem arrives from this line
  #include <setjmp.h>
  #include "osdep.h"
  #include "bswap.h"
  
  #else
  
  #include "cpu.h"
  #include "gdbstub.h"
  
  #endif /* !defined(QEMU_TOOL) */ 
  
  And I find that if I run the ./configure command  (on Msys) before importing Qemu source code into Eclipse project, the  "configure script" will generate this "config-host.h" file. So I want  to ask you the questions below:
  1. Do I must run the command: ./configure before  importing Qemu source code into Eclipse project? If not, which steps I  lacked or what I must do to fix this problem (the problem  "config-host.h")
  2. What does the preprocessor-option QEMU_TOOL means?
  3. In file qemu-img.c, line 130,  Eclipse alarms an error "syntax error before QEMU_VERSION", so I try to  add "QEMU_VERSION=0.8.1" into Project->Properties->C/C++ Include  paths & Symbols; but the error is still there. What can I do to fix  this problem?
  Best regards,
  Thanh
  
Christian MICHON <christian.michon@gmail.com> wrote:  On 6/22/06, Tieu Ma Dau  wrote:
> Hi all,
> I'm working a project which develops Qemu running on MinGW/MSys but I don't
> know which IDE I should use to develop, to test, to debug Qemu source code:

http://www.eclipse.org: generic IDE in java
http://www.eclipse.org/cdt: what will make eclipse become a full C/C++ IDE

--
Christian


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


 		
---------------------------------
Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo! Mail Beta.

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-06-23 14:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-22 19:45 [Qemu-devel] [ot?] Vista Networking Brian Wheeler
2006-06-22 19:48 ` Paul Brook
2006-06-22 22:38   ` Mattia Gentilini (QD)
2006-06-22 21:22 ` [Qemu-devel] Asking about IDE to develop Qemu Tieu Ma Dau
2006-06-22 21:51   ` Paul Brook
2006-06-23  6:48   ` Christian MICHON
2006-06-23 14:39     ` Tieu Ma Dau

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).