Re: Competitor to VMWare?

2004-05-28 Thread Baruch Even
* Tzafrir Cohen [EMAIL PROTECTED] [040528 08:51]:
 On Fri, May 28, 2004 at 01:01:50AM +0200, Hetz Ben Hamo wrote:
  how about network?
  was it out of the box? how much setup did you need?
  
  Network is seperated into 2 - you can use the TUN support (which 
  frankly, I didn't yet manage to use it) or the SLiRP support (compile 
  QEMU with --enable-slirp and user -user-net when you launch QEMU)
[...]
  In both ways, you'll need to do some iptables tricks to connect to your 
  host OS..
 
 tun creates simply another network interface. So if you have some
 control of the routing around that network you simply need to enable
 ip forwarding and set the routing tables properly.

The standard trick with tun devices and UMLs is to bridge them to the
external network interface, this way the hosted OS will communicate as
if its on the external network, it can take DHCP and do all the rest.

Of course if you are on a single machine broadband/dialup connection you
WILL need to setup NAT and such since you'll effectively have one
gateway machine (the host) and one network client (the hosted).

Baruch

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Competitor to VMWare?

2004-05-28 Thread Ira Abramov
Quoting Hetz Ben Hamo, from the post of Thu, 27 May:
 * It's not only emulating full X86 system, but also:
 
   * PowerPC (604 for now)
   * ARM 7
   * Sparc (no FPU yet)

in other words it works more like bochs than VMWARE and will probably
never reach the execution speed of native code, since it's emulating the
CPU itself, am I right? VMWARE will always be faster since it allows the
X86 opcodes execute on the CPU without translation layers.

-- 
May cause irritation
Ira Abramov
http://ira.abramov.org/email/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Competitor to VMWare?

2004-05-27 Thread Dan Kenigsberg
Layman's question:

would I be able to run my other-partition's WinXP with it?

-- 
Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 162180901

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Competitor to VMWare?

2004-05-27 Thread Tzafrir Cohen
On Thu, May 27, 2004 at 04:14:43PM +0200, Uri Sharf wrote:
 The User Mode sounds interesting, any experiance with that?

One exception: You need a modified kernel for the simulated system.

For instance, I want to install a standard distro on that simulated 
machine. Here's what you need to do to install RedHat on it:

  http://linuxhacker.ru/uml/

In short: you need to modify the kernel of the installer. Thus you can't
simply use standard install media. Far from being trivial.

-- 
Tzafrir Cohen   +---+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]   +---+

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Competitor to VMWare?

2004-05-27 Thread Guy Teverovsky
Actually UML is not that complicated considering the fact that
precompiled kernel rpms exist (both for host and for UML machines):
http://www.nrh-up2date.org/howto/uml/packages/
 
Guy

On Thu, 2004-05-27 at 18:06, Tzafrir Cohen wrote:
 On Thu, May 27, 2004 at 04:14:43PM +0200, Uri Sharf wrote:
  The User Mode sounds interesting, any experiance with that?
 
 One exception: You need a modified kernel for the simulated system.
 
 For instance, I want to install a standard distro on that simulated 
 machine. Here's what you need to do to install RedHat on it:
 
   http://linuxhacker.ru/uml/
 
 In short: you need to modify the kernel of the installer. Thus you can't
 simply use standard install media. Far from being trivial.


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Competitor to VMWare?

2004-05-27 Thread Diego Iastrubni
Hetz Ben Hamo wrote:
Hi People,
Lately I've been following a project which might interest few people 
here. It's called: QEMU

QEMU is an open source Virtual PC emulator. Unlike BOCHS, it's quite 
fast (a bit slower then VMWare, but not by much)..

Although the project is in version 0.5.x stages (meaning - some 
necessary features are missing), it shows a great promise.

Some of it's features:
* Install (almost) any X86 OS as a guest (Windows 9x, ME, NT, 2000, 
XP, 2003, *BSD, Linux, etc)
* It's not only emulating full X86 system, but also:

* PowerPC (604 for now)
* ARM 7
* Sparc (no FPU yet)
  So you can install some OS's (Linux PPC, Linux for ARM, SparcLinux, 
etc)
* Fully open source (the engine is under LGPL, BIOS under MIT license, 
the program under GPL)..

The program is still buggy and there are missing features there, but 
at the moment it looks great and I'm using Windows XP + Office XP with 
it, and it seems to work pretty well..

Why do I mention it here? for quite few reasons:
* If you plan to buy VMWare in the future, you might want to evaluate 
it before sinking $300 per machine
* It can help when a user doesn't have money but do want to run his 
windows apps (Windows on Linux, Linux on Windows - QEMU can run on 
both and almost on any other unix)..

URL: http://fabrice.bellard.free.fr/qemu/
I made a small Windows 98 (guest) howto [not finished yet] + some 
screenshots and a nightly source snapshot, available at: 
http://dad-answers.com/qemu/

Hetz,
How hard is to install XP or 2000? special kernel? special modules?
How hard is to run knoppixes from this beast?
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: Competitor to VMWare?

2004-05-27 Thread yuval tanny
Diego Iastrubni wrote:
Hetz Ben Hamo wrote:
Hi People,
Lately I've been following a project which might interest few people 
here. It's called: QEMU

QEMU is an open source Virtual PC emulator. Unlike BOCHS, it's 
quite fast (a bit slower then VMWare, but not by much)..

Although the project is in version 0.5.x stages (meaning - some 
necessary features are missing), it shows a great promise.

Some of it's features:
* Install (almost) any X86 OS as a guest (Windows 9x, ME, NT, 2000, 
XP, 2003, *BSD, Linux, etc)
* It's not only emulating full X86 system, but also:

* PowerPC (604 for now)
* ARM 7
* Sparc (no FPU yet)
  So you can install some OS's (Linux PPC, Linux for ARM, SparcLinux, 
etc)
* Fully open source (the engine is under LGPL, BIOS under MIT 
license, the program under GPL)..

The program is still buggy and there are missing features there, but 
at the moment it looks great and I'm using Windows XP + Office XP 
with it, and it seems to work pretty well..

Why do I mention it here? for quite few reasons:
* If you plan to buy VMWare in the future, you might want to evaluate 
it before sinking $300 per machine
* It can help when a user doesn't have money but do want to run his 
windows apps (Windows on Linux, Linux on Windows - QEMU can run on 
both and almost on any other unix)..

URL: http://fabrice.bellard.free.fr/qemu/
I made a small Windows 98 (guest) howto [not finished yet] + some 
screenshots and a nightly source snapshot, available at: 
http://dad-answers.com/qemu/

Hetz,
How hard is to install XP or 2000? special kernel? special modules?
How hard is to run knoppixes from this beast?
I use it (QEMU) to try LiveCDs. It works, but slowly (very slow compare 
to VMWare). To run knoppix:
qemu -cdrom knoppix.iso -m 200
This gives knoppix 200MB of ram.

It also a VERY simple way to run minix: qemu minix203.img
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: Competitor to VMWare?

2004-05-27 Thread Diego Iastrubni
yuval tanny wrote:
Hetz,
How hard is to install XP or 2000? special kernel? special modules?
How hard is to run knoppixes from this beast?
I use it (QEMU) to try LiveCDs. It works, but slowly (very slow 
compare to VMWare). To run knoppix:
qemu -cdrom knoppix.iso -m 200
This gives knoppix 200MB of ram.
how about network?
was it out of the box? how much setup did you need?
It also a VERY simple way to run minix: qemu minix203.img
you probably meant the hurd :)
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: Competitor to VMWare?

2004-05-27 Thread Hetz Ben Hamo
Dan Kenigsberg wrote:
Layman's question:
would I be able to run my other-partition's WinXP with it?
Well, there's a script to convert VMWare images to full hard drive 
image, but it's not stable yet to replace VMWare. Trust me on that ;)

Also the network stuff is using SLiRP (or TUN, depends how do you 
configure it), so it might have some problems ..

Thanks,
Hetz
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: Competitor to VMWare?

2004-05-27 Thread Hetz Ben Hamo
One exception: You need a modified kernel for the simulated system.
Wrong.
I've used standard redhat 9 as guest and it worked out of the box 
without any kernel compilation, not in guest side nor in the host side. 
Only thing you do need is the ne2k module (which is compiled by default 
on most distro's if I'm not mistaken)..

Thanks,
Hetz
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: Competitor to VMWare?

2004-05-27 Thread Hetz Ben Hamo
Hetz,
How hard is to install XP or 2000? special kernel? special modules?
I installed XP at work with it without much problems, but there are some 
 emulation problems with QEMU, so remember - it's not finished product.

How hard is to run knoppixes from this beast?
Runs excellent. Put the CD in driver, Type:
qemu -m 256 -cdrom /dev/cdrom -user-net
Thats it, it should run ;)
Thanks,
Hetz
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: Competitor to VMWare?

2004-05-27 Thread Hetz Ben Hamo
how about network?
was it out of the box? how much setup did you need?
Network is seperated into 2 - you can use the TUN support (which 
frankly, I didn't yet manage to use it) or the SLiRP support (compile 
QEMU with --enable-slirp and user -user-net when you launch QEMU)

With SLiRP, QEMU will have a tiny DHCP server to serve your 
windows/Linux guest OS which will be good enough for mail/irc/web, but 
not for ping

In both ways, you'll need to do some iptables tricks to connect to your 
host OS..

Thanks,
Hetz
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: Competitor to VMWare?

2004-05-27 Thread Tzafrir Cohen
On Fri, May 28, 2004 at 01:01:50AM +0200, Hetz Ben Hamo wrote:
 how about network?
 was it out of the box? how much setup did you need?
 
 Network is seperated into 2 - you can use the TUN support (which 
 frankly, I didn't yet manage to use it) or the SLiRP support (compile 
 QEMU with --enable-slirp and user -user-net when you launch QEMU)
 
 With SLiRP, QEMU will have a tiny DHCP server to serve your 
 windows/Linux guest OS which will be good enough for mail/irc/web, but 
 not for ping
 
 In both ways, you'll need to do some iptables tricks to connect to your 
 host OS..

Are you sure?

tun creates simply another network interface. So if you have some
control of the routing around that network you simply need to enable
ip forwarding and set the routing tables properly.

IIRC there should be a broadcast variant of the tun device (tap?). This
should theoretically allow you to configure the host system as an
ethernet bridge (that is: like a network switch). So any network config
of the host should be transparent.

-- 
Tzafrir Cohen   +---+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]   +---+

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]