Re: [Qemu-devel] VMware Player

2006-06-17 Thread Mattia Gentilini (QD)
Tim Walker wrote:
 That may not be true - I'm not sure but I think something reasonable
 could be done in Java. There is certainly a Java VNC client available
 which could play a part.
The FLOZ project
http://www.oszoo.org/wiki/index.php/Free_Live_OS_Zoo

Uses the tightVNC Java applet to connect to QEMU instance.
QEMU on the server is CVS, but lacks the last vnc.c patch (I'll put it
on when I have some time).

-- 
MG55: Mattia Gentilini  55 Virtual Machines


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


[Qemu-devel] Re: linux-test-0.5.1.tar.gz seems outdated, but isn't

2006-06-17 Thread Geert Stappers
On Fri, Jun 16, 2006 at 08:37:05PM +0200, Geert Stappers wrote:
   snip/
 19:42  stappers pbrook: are you sure about
 19:42  stappers  pbrook Oh. That doesn't have the right ethernet drivers
   on it.
 19:43  pbrook Fairly sure. It only has the isa ne2k drivers.
 19:43  stappers the kernel config has CONFIG_NE2000 and qemu monitor reports
   ne2000 at `info network`
 19:44  pbrook See above.
 19:44  pbrook ne != ne2k_pci
 19:44  stappers mmm
 
 While editing, I wondered which hardware is in the Debian version of Qemu.
 
   CHIPS
That was a brainwave

20:45  stappers when I modify ` qemu linux.img -net nic -net tap`
20:46  stappers into `qemu linux.img -net nic,model=ne2k_isa -net tap` is
  the error 'no such device' gone  :-)

So the trick is defining the NIC model as ne2k_isa

Should this default hardware detection be documented?


Cheers
Geert Stappers


signature.asc
Description: Digital signature
___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] VMware Player

2006-06-17 Thread Tim Walker

Mattia Gentilini (QD) wrote:

Tim Walker wrote:
  

That may not be true - I'm not sure but I think something reasonable
could be done in Java. There is certainly a Java VNC client available
which could play a part.


The FLOZ project
http://www.oszoo.org/wiki/index.php/Free_Live_OS_Zoo

Uses the tightVNC Java applet to connect to QEMU instance.
QEMU on the server is CVS, but lacks the last vnc.c patch (I'll put it
on when I have some time).

  

This really is too cool ;)

What hardware is it running on?


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


[Qemu-devel] Sparc64 fixes, separate patches

2006-06-17 Thread Blue Swirl

Hi,

I finally learnt how to use Quilt to manage patches. The previous patch is 
now in several parts, which should be easier to handle.


The order of applying should be:
gdb-sparc64.diff
sparc64-insn-fixes.diff
sun4u-fixes.diff

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


gdb-sparc64.diff.bz2
Description: Binary data


sparc64-insn-fixes.diff.bz2
Description: Binary data


sun4u-fixes.diff.bz2
Description: Binary data
___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] VMware Player

2006-06-17 Thread Mattia Gentilini (QD)
Tim Walker wrote:
 The FLOZ project
 http://www.oszoo.org/wiki/index.php/Free_Live_OS_Zoo
 This really is too cool ;)
Thanks ;-)

 What hardware is it running on?
Currently we use a dual xeon 2.8 GHz with hyperthreading and 2 GB
physical RAM.

-- 
MG55: Mattia Gentilini  55 Virtual Machines


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


Re: [Qemu-devel] GUI for QEmu (ex VMware Player topic)

2006-06-17 Thread NyOS

Hi!

(note: Subject changed since it has noting to do with VMPlayer.)


if SDL is common to most guest screens: I agree with you
that the gui/toolkit should overlay the SDL.


In my opinion, introducing new dependencies should be avoided due to  
portability reasons. QEmu already uses SDL, so it's an obvious way to use  
it for the gui also. There are gui-s based on SDL, so the wheel is already  
invented. :) (However, reimplementing a button or an editbox needs few  
work I think.)


I was wondering about a new approach. People can reach the VM screen at  
alt-ctrl-1, the monitor at -2 and so on.. A graphical monitor (a kind of  
GUI) could be introduced e.g. at alt-ctrl-5 or alt-ctrl-0. It could offer  
changing the cd/dvd/floppy image, cont, stop, commit, and so on.
When people run qemu with --help parameter, it could do what it does now  
(print command line options). But executing it without parameters, it  
could open that graphical monitor, where images, memory, hardware would be  
set.


That way no new dependencies would be introduced, the VM could be set full  
screen, and it would be completely be backward compatible. So noone is  
forced to use GUI who doesn't really need it.


Another approach is GTK. I think people sould not fear it. Gimp and Gaim  
also use GTK, and runs on Win32. They ship a gtk installer with the  
windows binary (there's also a version without gtk), so people can install  
it on windows with the well known next-next-finish way. If you don't  
believe me, try it.


Best regards,

Miklos GYOZO

-
Software is like sex: it's better with a penguin. - unknown


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


[Qemu-devel] Re: linux-test-0.5.1.tar.gz seems outdated, but isn't

2006-06-17 Thread Alex
It is well docummented. The defalt nic card is ne2k-pci and it is not Debian
specific.


-- 
Alex.

Geert Stappers [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 ___
 Qemu-devel mailing list
 Qemu-devel@nongnu.org
 http://lists.nongnu.org/mailman/listinfo/qemu-devel
 





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


[Qemu-devel] Re: invisible wall patch

2006-06-17 Thread Alex
This patch has been around for a while but never committed to the 
mainstream.
Are there any known issues with the patch?


-- 
Alex.

Julian Seward [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]

 Could somebody please commit, or at least consider committing,
 Anthony Liguori's invisible wall patch, shown at
 http://lists.gnu.org/archive/html/qemu-devel/2006-05/msg00112.html ?

 Without it, QEMU is essentially unusable on my SuSE 10 host; with it,
 the mouse stuff works perfectly.  A couple of other people on that
 thread had similar experiences with it.

 J 





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


Re: [Qemu-devel] Re: invisible wall patch

2006-06-17 Thread Rick Vernam
On Saturday 17 June 2006 11:32, Alex wrote:
 This patch has been around for a while but never committed to the
 mainstream.
 Are there any known issues with the patch?

not here.


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


Re: [Qemu-devel] Re: invisible wall patch

2006-06-17 Thread Julian Seward
On Saturday 17 June 2006 18:03, Rick Vernam wrote:
 On Saturday 17 June 2006 11:32, Alex wrote:
  This patch has been around for a while but never committed to the
  mainstream.

Huh?  Fabrice committed it some time around Tuesday.  I've been
using it 8+ hours/day since then and it seems fine to me.

J


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


[Qemu-devel] qemu cpu-exec.c linux-user/main.c target-sh4/he...

2006-06-17 Thread Paul Brook
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Paul Brook pbrook 06/06/17 19:58:25

Modified files:
.  : cpu-exec.c 
linux-user : main.c 
target-sh4 : helper.c translate.c 

Log message:
SH usermode fault handling.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/cpu-exec.c?cvsroot=qemur1=1.80r2=1.81
http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemur1=1.86r2=1.87
http://cvs.savannah.gnu.org/viewcvs/qemu/target-sh4/helper.c?cvsroot=qemur1=1.1r2=1.2
http://cvs.savannah.gnu.org/viewcvs/qemu/target-sh4/translate.c?cvsroot=qemur1=1.3r2=1.4

Patches:
Index: cpu-exec.c
===
RCS file: /sources/qemu/qemu/cpu-exec.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -b -r1.80 -r1.81
--- cpu-exec.c  14 Jun 2006 17:32:25 -  1.80
+++ cpu-exec.c  17 Jun 2006 19:58:24 -  1.81
@@ -1172,7 +1172,6 @@
a virtual CPU fault */
 cpu_restore_state(tb, env, pc, puc);
 }
-if (ret == 1) {
 #if 0
 printf(PF exception: NIP=0x%08x error=0x%x %p\n, 
env-nip, env-error_code, tb);
@@ -1180,11 +1179,7 @@
 /* we restore the process signal mask as the sigreturn should
do it (XXX: use sigsetjmp) */
 sigprocmask(SIG_SETMASK, old_set, NULL);
-//do_raise_exception_err(env-exception_index, 
env-error_code);
-} else {
-/* activate soft MMU for this block */
-cpu_resume_from_signal(env, puc);
-}
+cpu_loop_exit();
 /* never comes here */
 return 1;
 }

Index: linux-user/main.c
===
RCS file: /sources/qemu/qemu/linux-user/main.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -b -r1.86 -r1.87
--- linux-user/main.c   17 Jun 2006 18:30:42 -  1.86
+++ linux-user/main.c   17 Jun 2006 19:58:24 -  1.87
@@ -1362,7 +1362,7 @@
 void cpu_loop (CPUState *env)
 {
 int trapnr, ret;
-//target_siginfo_t info;
+target_siginfo_t info;
 
 while (1) {
 trapnr = cpu_sh4_exec (env);
@@ -1380,6 +1380,20 @@
 env-gregs[0x10] = ret;
 env-pc += 2;
 break;
+case EXCP_DEBUG:
+{
+int sig;
+
+sig = gdb_handlesig (env, TARGET_SIGTRAP);
+if (sig)
+  {
+info.si_signo = sig;
+info.si_errno = 0;
+info.si_code = TARGET_TRAP_BRKPT;
+queue_signal(info.si_signo, info);
+  }
+}
+break;
 default:
 printf (Unhandled trap: 0x%x\n, trapnr);
 cpu_dump_state(env, stderr, fprintf, 0);

Index: target-sh4/helper.c
===
RCS file: /sources/qemu/qemu/target-sh4/helper.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- target-sh4/helper.c 27 Apr 2006 21:00:31 -  1.1
+++ target-sh4/helper.c 17 Jun 2006 19:58:24 -  1.2
@@ -28,6 +28,38 @@
 #include cpu.h
 #include exec-all.h
 
+#if defined(CONFIG_USER_ONLY)
+
+void do_interrupt (CPUState *env)
+{
+  env-exception_index = -1;
+}
+
+int cpu_sh4_handle_mmu_fault(CPUState * env, target_ulong address, int rw,
+int is_user, int is_softmmu)
+{
+env-tea = address;
+switch (rw) {
+case 0:
+env-exception_index = 0x0a0;
+break;
+case 1:
+env-exception_index = 0x0c0;
+break;
+case 2:
+env-exception_index = 0x0a0;
+break;
+}
+return 1;
+}
+
+target_ulong cpu_get_phys_page_debug(CPUState * env, target_ulong addr)
+{
+return addr;
+}
+
+#else /* !CONFIG_USER_ONLY */
+
 #define MMU_OK   0
 #define MMU_ITLB_MISS(-1)
 #define MMU_ITLB_MULTIPLE(-2)
@@ -396,3 +428,14 @@
 
 return tlb_set_page(env, address, physical, prot, is_user, is_softmmu);
 }
+
+target_ulong cpu_get_phys_page_debug(CPUState * env, target_ulong addr)
+{
+target_ulong physical;
+int prot;
+
+get_physical_address(env, physical, prot, addr, PAGE_READ, 0);
+return physical;
+}
+
+#endif

Index: target-sh4/translate.c
===
RCS file: /sources/qemu/qemu/target-sh4/translate.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- target-sh4/translate.c  17 Jun 2006 18:48:31 -  1.3
+++ target-sh4/translate.c  17 Jun 2006 19:58:25 -  1.4
@@ -144,22 +144,6 @@
 return env;
 }
 
-#ifdef CONFIG_USER_ONLY
-target_ulong cpu_get_phys_page_debug(CPUState * env, target_ulong addr)
-{
-return addr;
-}
-#else
-target_ulong cpu_get_phys_page_debug(CPUState * env, target_ulong addr)
-{
-target_ulong physical;
-int prot;
-
-

[Qemu-devel] qemu configure

2006-06-17 Thread Paul Brook
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Paul Brook pbrook 06/06/17 20:01:14

Modified files:
.  : configure 

Log message:
Enable SH bFLT loader.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/configure?cvsroot=qemur1=1.106r2=1.107

Patches:
Index: configure
===
RCS file: /sources/qemu/qemu/configure,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -b -r1.106 -r1.107
--- configure   14 Jun 2006 18:17:46 -  1.106
+++ configure   17 Jun 2006 20:01:14 -  1.107
@@ -831,6 +831,7 @@
   echo TARGET_ARCH=sh4  $config_mak
   echo #define TARGET_ARCH \sh4\  $config_h
   echo #define TARGET_SH4 1  $config_h
+  bflt=yes
 else
   echo Unsupported target CPU
   exit 1


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


[Qemu-devel] qemu/target-sh4 op_helper.c translate.c

2006-06-17 Thread Paul Brook
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Paul Brook pbrook 06/06/17 20:04:26

Modified files:
target-sh4 : op_helper.c translate.c 

Log message:
Remove debug output.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-sh4/op_helper.c?cvsroot=qemur1=1.1r2=1.2
http://cvs.savannah.gnu.org/viewcvs/qemu/target-sh4/translate.c?cvsroot=qemur1=1.4r2=1.5

Patches:
Index: op_helper.c
===
RCS file: /sources/qemu/qemu/target-sh4/op_helper.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- op_helper.c 27 Apr 2006 21:00:31 -  1.1
+++ op_helper.c 17 Jun 2006 20:04:26 -  1.2
@@ -135,7 +135,7 @@
 uint32_t tmp0, tmp2;
 uint8_t old_q, tmp1 = 0xff;
 
-printf(div1 T0=0x%08x T1=0x%08x M=%d Q=%d T=%d\n, T0, T1, M, Q, T);
+//printf(div1 T0=0x%08x T1=0x%08x M=%d Q=%d T=%d\n, T0, T1, M, Q, T);
 old_q = Q;
 if ((0x8000  T1) != 0)
SETQ;
@@ -234,7 +234,7 @@
SETT;
 else
CLRT;
-printf(Output: T1=0x%08x M=%d Q=%d T=%d\n, T1, M, Q, T);
+//printf(Output: T1=0x%08x M=%d Q=%d T=%d\n, T1, M, Q, T);
 }
 
 void helper_dmulsl_T0_T1()

Index: translate.c
===
RCS file: /sources/qemu/qemu/target-sh4/translate.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- translate.c 17 Jun 2006 19:58:25 -  1.4
+++ translate.c 17 Jun 2006 20:04:26 -  1.5
@@ -247,7 +247,6 @@
 #endif
 switch (ctx-opcode) {
 case 0x0019:   /* div0u */
-   printf(div0u\n);
gen_op_div0u();
return;
 case 0x000b:   /* rts */
@@ -509,7 +508,6 @@
gen_op_cmp_str_T0_T1();
return;
 case 0x2007:   /* div0s Rm,Rn */
-   printf(div0s\n);
gen_op_movl_rN_T0(REG(B7_4));
gen_op_movl_rN_T1(REG(B11_8));
gen_op_div0s_T0_T1();


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


[Qemu-devel] VMX

2006-06-17 Thread wayne tempel

Hey,
 What's up? I didn't know if anyone knew about this site that I found, 
I thought that I would share it with everyone. You can make your own virtual 
machine files for VMware Player, it's pretty cool. Anyway the site is:


www.easyvmx.com

 See ya,
   Wayne

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/




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


[Qemu-devel] Re: Re: invisible wall patch

2006-06-17 Thread Alex
I have not updated my sources this week. But in the past few months I had to 
manually apply the patch to make Qemu workable. And I use it a lot. Thanks 
for a great product.

-- 
Alex.


Julian Seward [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 On Saturday 17 June 2006 18:03, Rick Vernam wrote:
 On Saturday 17 June 2006 11:32, Alex wrote:
  This patch has been around for a while but never committed to the
  mainstream.

 Huh?  Fabrice committed it some time around Tuesday.  I've been
 using it 8+ hours/day since then and it seems fine to me.

 J 





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


[Qemu-devel] Novell Client on Win2k

2006-06-17 Thread Alex
Has anybody been able to successfully run the latest Netware clients (I 
believe 4.90 and 4.91, can't verify right now) on Win2k guests?
In my tests I was not able to pass through login screen without hacking the 
registry and using microsoft's version of gina.dll
to login to windows. After that I was able to login to netware network with 
net use but the Novel login crushed if I had not been already 
authenticated. It looks like NT4 guest do have similar problems, but XP does 
not.
Needless to say that both NT and 2k client work fine on real hardware.

-- 
Alex.





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


[Qemu-devel] Novell Client on Win2k

2006-06-17 Thread Alex
Has anybody been able to successfully run the latest Netware clients (I 
believe 4.90 and 4.91, can't verify right now) on Win2k guests?
In my tests I was not able to pass through login screen without hacking the 
registry and using microsoft's version of gina.dll
to login to windows. After that I was able to login to netware network with 
net use but the Novel login crushed if I had not been already 
authenticated. It looks like NT4 guest do have similar problems, but XP does 
not.
Needless to say that both NT and 2k client work fine on real hardware.

-- 
Alex.





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


Re: [Qemu-devel] Re: Re: invisible wall patch

2006-06-17 Thread Thomas Han
Hi All,for what its worth, I've also been using the latest from CVS (with the invisible wall patch) and it works great.Thanks!ThomasOn 6/17/06, 
Alex [EMAIL PROTECTED] wrote:I have not updated my sources this week. But in the past few months I had to
manually apply the patch to make Qemu workable. And I use it a lot. Thanksfor a great product.--Alex.Julian Seward [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED] On Saturday 17 June 2006 18:03, Rick Vernam wrote: On Saturday 17 June 2006 11:32, Alex wrote:  This patch has been around for a while but never committed to the
  mainstream. Huh?Fabrice committed it some time around Tuesday.I've been using it 8+ hours/day since then and it seems fine to me. J___
Qemu-devel mailing listQemu-devel@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/qemu-devel

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