qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] OT: Running qemu without host os?
@ 2005-01-21 16:10 Peter Karlsson
  2005-01-21 17:02 ` Jim C. Brown
  2005-01-22 13:15 ` venkateshp
  0 siblings, 2 replies; 21+ messages in thread
From: Peter Karlsson @ 2005-01-21 16:10 UTC (permalink / raw)
  To: qemu-devel

Hi!

I'm toying with the idea of running qemu as a vm from linuxbios and then
boot another os inside the vm (qemu). Qemu would have to virtualise the
hardware but still let the virtual os access hardware via normal hardware
registers, i.e. the os would not know a real computer from a virtualised
one. Is this theoretically possible, or maybe even practically?

One of the reasons for doing something like this would be to snoop windows
driver registers for example reverse engineering of graphics hardware and
maybe wireless network cards. But I can think of several other useful
areas like high-availability, remote management of cluster nodes etc...

Best regards

Peter K

-- 
We Can Put an End to Word Attachments:
http://www.fsf.org/philosophy/no-word-attachments.html

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

* Re: [Qemu-devel] OT: Running qemu without host os?
  2005-01-21 16:10 [Qemu-devel] OT: Running qemu without host os? Peter Karlsson
@ 2005-01-21 17:02 ` Jim C. Brown
  2005-01-21 18:03   ` Peter Karlsson
  2005-01-22 13:15 ` venkateshp
  1 sibling, 1 reply; 21+ messages in thread
From: Jim C. Brown @ 2005-01-21 17:02 UTC (permalink / raw)
  To: qemu-devel

On Fri, Jan 21, 2005 at 05:10:33PM +0100, Peter Karlsson wrote:
> Hi!
> 
> I'm toying with the idea of running qemu as a vm from linuxbios and then
> boot another os inside the vm (qemu). Qemu would have to virtualise the
> hardware but still let the virtual os access hardware via normal hardware
> registers, i.e. the os would not know a real computer from a virtualised
> one. Is this theoretically possible, or maybe even practically?

>From instead a host OS the virtual (or guest) OS would not know that it is
not a real computer. Emulating from the hardware would make this even harder
to figure out. The part about giving access to the native hardware directly
(instead of access to emulated hardware) is interesting.

> 
> One of the reasons for doing something like this would be to snoop windows
> driver registers for example reverse engineering of graphics hardware and
> maybe wireless network cards. But I can think of several other useful
> areas like high-availability, remote management of cluster nodes etc...

This can still be done in a host OS. The only benefit of using qemu directly is
the factor of speed and RAM usage (you can go faster when you access the bare
metal and you don't have to load up an OS).

> 
> Best regards
> 
> Peter K
> 
> -- 
> We Can Put an End to Word Attachments:
> http://www.fsf.org/philosophy/no-word-attachments.html
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

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

* Re: [Qemu-devel] OT: Running qemu without host os?
  2005-01-21 17:02 ` Jim C. Brown
@ 2005-01-21 18:03   ` Peter Karlsson
  2005-01-21 19:23     ` Jim C. Brown
  0 siblings, 1 reply; 21+ messages in thread
From: Peter Karlsson @ 2005-01-21 18:03 UTC (permalink / raw)
  To: qemu-devel

On Fri, 21 Jan 2005, Jim C. Brown wrote:

> >From instead a host OS the virtual (or guest) OS would not know that it is
> not a real computer. Emulating from the hardware would make this even harder
> to figure out. The part about giving access to the native hardware directly
> (instead of access to emulated hardware) is interesting.

Well, the vm would still have virtualise the hardware wouldn't it? I'm
thinking of it as like a filter which can let everything, nothing and all
in between pass through depending on settings. Think of linux virtual
memory where a process does not know whether it's in real memory or not.

> This can still be done in a host OS. The only benefit of using qemu directly is
> the factor of speed and RAM usage (you can go faster when you access the bare
> metal and you don't have to load up an OS).

So if I use linux as a host os and run windows 2000 as a vm would qemu let
windows access for example a radeon 9800xt graphics card via ati's
official windows drivers? I haven't played with qemu yet and don't know
it's capabilities but I doubt that the host os would be happy with a
virtual os taking over the graphics hardware (for instance)...

Best regards

Peter K

-- 
We Can Put an End to Word Attachments:
http://www.fsf.org/philosophy/no-word-attachments.html

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

* Re: [Qemu-devel] OT: Running qemu without host os?
  2005-01-21 18:03   ` Peter Karlsson
@ 2005-01-21 19:23     ` Jim C. Brown
  2005-01-21 21:30       ` [Qemu-devel] " Ben Pfaff
  2005-01-21 22:45       ` [Qemu-devel] " Peter Karlsson
  0 siblings, 2 replies; 21+ messages in thread
From: Jim C. Brown @ 2005-01-21 19:23 UTC (permalink / raw)
  To: qemu-devel

On Fri, Jan 21, 2005 at 07:03:18PM +0100, Peter Karlsson wrote:
> On Fri, 21 Jan 2005, Jim C. Brown wrote:
> 
> > >From instead a host OS the virtual (or guest) OS would not know that it is
> > not a real computer. Emulating from the hardware would make this even harder
> > to figure out. The part about giving access to the native hardware directly
> > (instead of access to emulated hardware) is interesting.
> 
> Well, the vm would still have virtualise the hardware wouldn't it? I'm
> thinking of it as like a filter which can let everything, nothing and all
> in between pass through depending on settings. Think of linux virtual
> memory where a process does not know whether it's in real memory or not.

What exactly do you mean by "virtualise the hardware" ?

Qemu already acts as such a filter (except that it has to go thru the host OS
to access the bare metal and that the emulated hardware usually isn't the same
as the hardware the host OS has.)

> 
> > This can still be done in a host OS. The only benefit of using qemu directly is
> > the factor of speed and RAM usage (you can go faster when you access the bare
> > metal and you don't have to load up an OS).
> 
> So if I use linux as a host os and run windows 2000 as a vm would qemu let
> windows access for example a radeon 9800xt graphics card via ati's
> official windows drivers?

No, that would be the intriquing part. (Actually, a linux host CAN give that
access, as long as it is a PCI card you are giving the guest access to - but
then only the guest can use it exclusively. Of course Qemu needs to run in X so
this isn't yet possible .. unless you have 2 graphics cards, one of them is
PCI, and the linux host is using the other graphic card.)

> I haven't played with qemu yet and don't know
> it's capabilities but I doubt that the host os would be happy with a
> virtual os taking over the graphics hardware (for instance)...

As long as it is exclusive, it isn't a problem.

> 
> Best regards
> 
> Peter K
> 
> -- 
> We Can Put an End to Word Attachments:
> http://www.fsf.org/philosophy/no-word-attachments.html
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

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

* [Qemu-devel] Re: OT: Running qemu without host os?
  2005-01-21 19:23     ` Jim C. Brown
@ 2005-01-21 21:30       ` Ben Pfaff
  2005-01-21 22:33         ` Karl Magdsick
  2005-01-21 22:36         ` Jim C. Brown
  2005-01-21 22:45       ` [Qemu-devel] " Peter Karlsson
  1 sibling, 2 replies; 21+ messages in thread
From: Ben Pfaff @ 2005-01-21 21:30 UTC (permalink / raw)
  To: qemu-devel

"Jim C. Brown" <jbrown106@phreaker.net> writes:

> (Actually, a linux host CAN give that access, as long as it is
> a PCI card you are giving the guest access to - but then only
> the guest can use it exclusively. Of course Qemu needs to run
> in X so this isn't yet possible .. unless you have 2 graphics
> cards, one of them is PCI, and the linux host is using the
> other graphic card.)

qemu does not need to run in X.  Use the -nographic option.
-- 
"The only problem with Linux for Dummies is that the advice it
 contains will result only in embarrassment and inconvenience if
 followed, not actual death."
--henke at insync dot net

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

* Re: [Qemu-devel] Re: OT: Running qemu without host os?
  2005-01-21 21:30       ` [Qemu-devel] " Ben Pfaff
@ 2005-01-21 22:33         ` Karl Magdsick
  2005-01-22  1:23           ` Peter Karlsson
  2005-01-21 22:36         ` Jim C. Brown
  1 sibling, 1 reply; 21+ messages in thread
From: Karl Magdsick @ 2005-01-21 22:33 UTC (permalink / raw)
  To: blp, qemu-devel

> 
> qemu does not need to run in X.  Use the -nographic option.
>

Additionally, I believe QEMU only uses X11 through SDL.  I also
believe that SDL is primarily used in conjunction with device
emulation... so if you're getting rid of all emulated devices, it
would seem that the use or disuse of the -nographic option would be
irrelivant unless you went through a LOT of trouble to snoop and
interpret what the guest was writing to the graphics card.  By giving
the guest access to real graphics, sound, mouse, and keyboard
hardware, you are pretty much cutting SDL out of QEMU.

Presumably, you would have the host hide a NIC from the guest and
provide an emulated NIC or else a second physical NIC for the guest to
use.  You would then use the hidden NIC to remotely log all of the
data you were collecting while spying on the drivers.  The hidden NIC
would also presumably be the only way to interact with the minimalist
host.  You could also do something similar with HD controllers rather
than NICs and log everything to a hidden HD.  However, a flaw in your
virtualization/emulation would put local logs at risk for corruption.

A hidden NIC or an emulated keyboard chipset would almost be mandatory
in order to communicate with the minimalist host.


-Karl

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

* Re: [Qemu-devel] Re: OT: Running qemu without host os?
  2005-01-21 21:30       ` [Qemu-devel] " Ben Pfaff
  2005-01-21 22:33         ` Karl Magdsick
@ 2005-01-21 22:36         ` Jim C. Brown
  2005-01-21 22:42           ` Ben Pfaff
  1 sibling, 1 reply; 21+ messages in thread
From: Jim C. Brown @ 2005-01-21 22:36 UTC (permalink / raw)
  To: blp, qemu-devel

On Fri, Jan 21, 2005 at 01:30:44PM -0800, Ben Pfaff wrote:
> "Jim C. Brown" <jbrown106@phreaker.net> writes:
> 
> > (Actually, a linux host CAN give that access, as long as it is
> > a PCI card you are giving the guest access to - but then only
> > the guest can use it exclusively. Of course Qemu needs to run
> > in X so this isn't yet possible .. unless you have 2 graphics
> > cards, one of them is PCI, and the linux host is using the
> > other graphic card.)
> 
> qemu does not need to run in X.  Use the -nographic option.

This only works if the guest OS is a linux kernel, and it requires the
-kernel option, if iirc.

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

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

* Re: [Qemu-devel] Re: OT: Running qemu without host os?
  2005-01-21 22:36         ` Jim C. Brown
@ 2005-01-21 22:42           ` Ben Pfaff
  0 siblings, 0 replies; 21+ messages in thread
From: Ben Pfaff @ 2005-01-21 22:42 UTC (permalink / raw)
  To: jbrown106; +Cc: qemu-devel

"Jim C. Brown" <jbrown106@phreaker.net> writes:

> On Fri, Jan 21, 2005 at 01:30:44PM -0800, Ben Pfaff wrote:
>> qemu does not need to run in X.  Use the -nographic option.
>
> This only works if the guest OS is a linux kernel, and it requires the
> -kernel option, if iirc.

It works with any kernel that supports a serial (or network)
console.  It does not require -kernel.  I have used it with Linux
and with my own instructional OS, Pintos, to useful effect.
-- 
"Premature optimization is the root of all evil."
--D. E. Knuth, "Structured Programming with go to Statements"

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

* Re: [Qemu-devel] OT: Running qemu without host os?
  2005-01-21 19:23     ` Jim C. Brown
  2005-01-21 21:30       ` [Qemu-devel] " Ben Pfaff
@ 2005-01-21 22:45       ` Peter Karlsson
  2005-01-22  4:05         ` Jim C. Brown
  1 sibling, 1 reply; 21+ messages in thread
From: Peter Karlsson @ 2005-01-21 22:45 UTC (permalink / raw)
  To: qemu-devel

On Fri, 21 Jan 2005, Jim C. Brown wrote:

> What exactly do you mean by "virtualise the hardware" ?

virtual_os(hardware access) -> vm -> hardware

> Qemu already acts as such a filter (except that it has to go thru the host OS
> to access the bare metal and that the emulated hardware usually isn't the same
> as the hardware the host OS has.)

Ok.

> No, that would be the intriquing part. (Actually, a linux host CAN give that
> access, as long as it is a PCI card you are giving the guest access to - but
> then only the guest can use it exclusively. Of course Qemu needs to run in X so
> this isn't yet possible .. unless you have 2 graphics cards, one of them is
> PCI, and the linux host is using the other graphic card.)

Would the other way around work (i.e. linux using pci gfx card and the
guest os using agp)? Anyway that's good to know. Thanks!

Best regards

Peter K

-- 
We Can Put an End to Word Attachments:
http://www.fsf.org/philosophy/no-word-attachments.html

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

* Re: [Qemu-devel] Re: OT: Running qemu without host os?
  2005-01-21 22:33         ` Karl Magdsick
@ 2005-01-22  1:23           ` Peter Karlsson
  0 siblings, 0 replies; 21+ messages in thread
From: Peter Karlsson @ 2005-01-22  1:23 UTC (permalink / raw)
  To: qemu-devel

On Fri, 21 Jan 2005, Karl Magdsick wrote:

> Additionally, I believe QEMU only uses X11 through SDL.  I also
> believe that SDL is primarily used in conjunction with device
> emulation... so if you're getting rid of all emulated devices, it
> would seem that the use or disuse of the -nographic option would be
> irrelivant unless you went through a LOT of trouble to snoop and
> interpret what the guest was writing to the graphics card.  By giving
> the guest access to real graphics, sound, mouse, and keyboard
> hardware, you are pretty much cutting SDL out of QEMU.
>
> Presumably, you would have the host hide a NIC from the guest and
> provide an emulated NIC or else a second physical NIC for the guest to
> use.  You would then use the hidden NIC to remotely log all of the
> data you were collecting while spying on the drivers.  The hidden NIC
> would also presumably be the only way to interact with the minimalist
> host.  You could also do something similar with HD controllers rather
> than NICs and log everything to a hidden HD.  However, a flaw in your
> virtualization/emulation would put local logs at risk for corruption.
>
> A hidden NIC or an emulated keyboard chipset would almost be mandatory
> in order to communicate with the minimalist host.

Possible scenario?:

*Linux host, one hidden nic, running sshd.
*windows 2000 guest os with ati windows drivers.
*host releases relevant hardware (radeon 9800xt, keyboard,
mouse) to guest os.

Would that work?

Best regards

Peter K

-- 
We Can Put an End to Word Attachments:
http://www.fsf.org/philosophy/no-word-attachments.html

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

* Re: [Qemu-devel] OT: Running qemu without host os?
  2005-01-21 22:45       ` [Qemu-devel] " Peter Karlsson
@ 2005-01-22  4:05         ` Jim C. Brown
  2005-01-22 14:29           ` Karl Magdsick
  2005-01-22 20:46           ` Peter Karlsson
  0 siblings, 2 replies; 21+ messages in thread
From: Jim C. Brown @ 2005-01-22  4:05 UTC (permalink / raw)
  To: qemu-devel

On Fri, Jan 21, 2005 at 11:45:11PM +0100, Peter Karlsson wrote:
> On Fri, 21 Jan 2005, Jim C. Brown wrote:
> 
> > What exactly do you mean by "virtualise the hardware" ?
> 
> virtual_os(hardware access) -> vm -> hardware

That would be interesting. Qemu can't do that yet (it shares hardware via
the help of the host OS, of course, but not direct access).

If you had qemu running multiple OSes, and all of them could access the same
hardware "virtually directly", that would be simply amazing. Not quite sure
how one could go about doing this though..

> 
> > No, that would be the intriquing part. (Actually, a linux host CAN give that
> > access, as long as it is a PCI card you are giving the guest access to - but
> > then only the guest can use it exclusively. Of course Qemu needs to run in X so
> > this isn't yet possible .. unless you have 2 graphics cards, one of them is
> > PCI, and the linux host is using the other graphic card.)
> 
> Would the other way around work (i.e. linux using pci gfx card and the
> guest os using agp)? Anyway that's good to know. Thanks!

No, it currently only works with PCI. ISA, AGP, USB, and traditional hardware
can't be accessed directly yet (tho it is theoreticly possible).

> 
> Best regards
> 
> Peter K
> 
> -- 
> We Can Put an End to Word Attachments:
> http://www.fsf.org/philosophy/no-word-attachments.html
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

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

* Re: [Qemu-devel] OT: Running qemu without host os?
  2005-01-21 16:10 [Qemu-devel] OT: Running qemu without host os? Peter Karlsson
  2005-01-21 17:02 ` Jim C. Brown
@ 2005-01-22 13:15 ` venkateshp
  2005-01-22 20:56   ` Peter Karlsson
  1 sibling, 1 reply; 21+ messages in thread
From: venkateshp @ 2005-01-22 13:15 UTC (permalink / raw)
  To: qemu-devel



-----------------------------------------------------------------------
International Institute of Information Technology, PUNE, INDIA -411 057


---------- Original Message -----------
From: Peter Karlsson <petekarl@student.chalmers.se>
To: qemu-devel@nongnu.org
Sent: Fri, 21 Jan 2005 17:10:33 +0100 (MET)
Subject: [Qemu-devel] OT: Running qemu without host os?

> Hi!
> 
> I'm toying with the idea of running qemu as a vm from linuxbios and then
> boot another os inside the vm (qemu). Qemu would have to virtualise the
> hardware but still let the virtual os access hardware via normal hardware
> registers, i.e. the os would not know a real computer from a virtualised
> one. Is this theoretically possible, or maybe even practically?
i and my friend are trying to make a tiny (live)distro running only qemu. then
make qemu boot the os on the computer. does that come anywhere near?
> 
> One of the reasons for doing something like this would be to snoop windows
> driver registers for example reverse engineering of graphics 
> hardware and maybe wireless network cards. But I can think of 
> several other useful areas like high-availability, remote management 
> of cluster nodes etc...
we are working towards the cluster part..
> 
> Best regards
> 
> Peter K
> 
> -- 
> We Can Put an End to Word Attachments:
> http://www.fsf.org/philosophy/no-word-attachments.html
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
------- End of Original Message -------

DISCLAIMER: This Mail is from the International Institute of Information Technology ( ISquareIT, PUNE, INDIA-411 057 ) student mail system, The Institute is not responsible for the contents. In case you detect misuse or offensive content report to mailadmin@isquareit.ac.in.

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

* Re: [Qemu-devel] OT: Running qemu without host os?
  2005-01-22  4:05         ` Jim C. Brown
@ 2005-01-22 14:29           ` Karl Magdsick
  2005-01-22 15:16             ` Paul Brook
  2005-01-22 21:09             ` Peter Karlsson
  2005-01-22 20:46           ` Peter Karlsson
  1 sibling, 2 replies; 21+ messages in thread
From: Karl Magdsick @ 2005-01-22 14:29 UTC (permalink / raw)
  To: qemu-devel

> 
> If you had qemu running multiple OSes, and all of them could access the same
> hardware "virtually directly", that would be simply amazing. Not quite sure
> how one could go about doing this though..
> 

Unless all of the guest OSes were modified to be aware that they were
sharing hardware (or else some really intelligent dynamic patching was
going on), the OSes would step all over eachother.  For instance, one
guest OS might put the NIC in promiscuous mode right before another
guest OS boots and re-initializes the NIC to non-promiscuous mode.  A
third guest OS might then change the MAC address on the NIC and screw
up ARP.

However, your idea isn't that much different from the (fairly new)
exokernel concept, where each process has its own copy of virtualized
hardware, with simulated direct access from userspace, and each
process has its own drivers.  My understanding is that the drivers
would usually be implemented as dynamic libraries, so most of the
applications would actually be sharing driver implementations.


-Karl

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

* Re: [Qemu-devel] OT: Running qemu without host os?
  2005-01-22 14:29           ` Karl Magdsick
@ 2005-01-22 15:16             ` Paul Brook
  2005-01-22 21:09             ` Peter Karlsson
  1 sibling, 0 replies; 21+ messages in thread
From: Paul Brook @ 2005-01-22 15:16 UTC (permalink / raw)
  To: qemu-devel

> However, your idea isn't that much different from the (fairly new)
> exokernel concept, where each process has its own copy of virtualized
> hardware, with simulated direct access from userspace, and each
> process has its own drivers.  My understanding is that the drivers
> would usually be implemented as dynamic libraries, so most of the
> applications would actually be sharing driver implementations.

Which is pretty much the same as the Hypervisor which has been in use on IBM 
mainframes for ages :-)

Paul

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

* Re: [Qemu-devel] OT: Running qemu without host os?
  2005-01-22  4:05         ` Jim C. Brown
  2005-01-22 14:29           ` Karl Magdsick
@ 2005-01-22 20:46           ` Peter Karlsson
  1 sibling, 0 replies; 21+ messages in thread
From: Peter Karlsson @ 2005-01-22 20:46 UTC (permalink / raw)
  To: qemu-devel

On Fri, 21 Jan 2005, Jim C. Brown wrote:

> That would be interesting. Qemu can't do that yet (it shares hardware via
> the help of the host OS, of course, but not direct access).
>
> If you had qemu running multiple OSes, and all of them could access the same
> hardware "virtually directly", that would be simply amazing. Not quite sure
> how one could go about doing this though..

It would be like "streaming" or "multitasking" the guest OSes, at least
that's what I'm thinking. How one would go about to actually do it without
hardware support is another matter. But would it really be that different
from what qemu are doing now? However, having qemu start first (with the
help from linuxbios) and then launch guest OSes would be a lot easier I
suspect (from a theoretical standpoint), unless the host os is aware of
sharing the resources. And what I originally thought of was having qemu as
a part of the bios, in control of the hardware.

>From what I've been told, qemu is a target in linuxbios V2.

See:
http://www.clustermatic.org/pipermail/linuxbios/2005-January/010680.html
http://www.clustermatic.org/pipermail/linuxbios/2004-June/008423.html

> No, it currently only works with PCI. ISA, AGP, USB, and traditional hardware
> can't be accessed directly yet (tho it is theoreticly possible).

I thought AGP was a PCI bus.

Best regards

Peter K

-- 
We Can Put an End to Word Attachments:
http://www.fsf.org/philosophy/no-word-attachments.html

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

* Re: [Qemu-devel] OT: Running qemu without host os?
  2005-01-22 13:15 ` venkateshp
@ 2005-01-22 20:56   ` Peter Karlsson
  2005-02-17 11:41     ` [Qemu-devel] anybody working on smp..? venkateshp
  0 siblings, 1 reply; 21+ messages in thread
From: Peter Karlsson @ 2005-01-22 20:56 UTC (permalink / raw)
  To: qemu-devel

On Sat, 22 Jan 2005, venkateshp wrote:

> i and my friend are trying to make a tiny (live)distro running only qemu. then
> make qemu boot the os on the computer. does that come anywhere near?

Yes, I would think so. I was thinking of replacing the bios with linuxbios
and qemu. It sounds like a common goal. But you should check out
linuxbios, if you haven't already:
http://www.clustermatic.org/
http://www.linuxbios.org/

> we are working towards the cluster part..

Oh, I'm interested in that too. I only wish I could afford a cluster, let
alone one more computer... :-)

But an active bios/vm would be very interesting indeed for a cluster, be
it a load-balancing, HA-cluster or any other kind of cluster.

Best regards

Peter K

-- 
We Can Put an End to Word Attachments:
http://www.fsf.org/philosophy/no-word-attachments.html

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

* Re: [Qemu-devel] OT: Running qemu without host os?
  2005-01-22 14:29           ` Karl Magdsick
  2005-01-22 15:16             ` Paul Brook
@ 2005-01-22 21:09             ` Peter Karlsson
  2005-01-22 21:47               ` Jim C. Brown
  2005-01-23  1:49               ` Mark Williamson
  1 sibling, 2 replies; 21+ messages in thread
From: Peter Karlsson @ 2005-01-22 21:09 UTC (permalink / raw)
  To: Karl Magdsick, qemu-devel

On Sat, 22 Jan 2005, Karl Magdsick wrote:

> Unless all of the guest OSes were modified to be aware that they were
> sharing hardware (or else some really intelligent dynamic patching was
> going on), the OSes would step all over eachother.  For instance, one
> guest OS might put the NIC in promiscuous mode right before another
> guest OS boots and re-initializes the NIC to non-promiscuous mode.  A
> third guest OS might then change the MAC address on the NIC and screw
> up ARP.

Isn't that what xen does? All guest OSes has to be modified to run.

See:
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/

Best regards

Peter K

-- 
We Can Put an End to Word Attachments:
http://www.fsf.org/philosophy/no-word-attachments.html

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

* Re: [Qemu-devel] OT: Running qemu without host os?
  2005-01-22 21:09             ` Peter Karlsson
@ 2005-01-22 21:47               ` Jim C. Brown
  2005-01-22 23:13                 ` Peter Karlsson
  2005-01-23  1:49               ` Mark Williamson
  1 sibling, 1 reply; 21+ messages in thread
From: Jim C. Brown @ 2005-01-22 21:47 UTC (permalink / raw)
  To: qemu-devel

On Sat, Jan 22, 2005 at 10:09:04PM +0100, Peter Karlsson wrote:
> Isn't that what xen does? All guest OSes has to be modified to run.
> 

Yes but i thought the idea of qemu is that the guest OS wouldn't need modification
in order to run.

> 
> Best regards
> 
> Peter K
> 
> -- 
> We Can Put an End to Word Attachments:
> http://www.fsf.org/philosophy/no-word-attachments.html
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

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

* Re: [Qemu-devel] OT: Running qemu without host os?
  2005-01-22 21:47               ` Jim C. Brown
@ 2005-01-22 23:13                 ` Peter Karlsson
  0 siblings, 0 replies; 21+ messages in thread
From: Peter Karlsson @ 2005-01-22 23:13 UTC (permalink / raw)
  To: qemu-devel

On Sat, 22 Jan 2005, Jim C. Brown wrote:

> Yes but i thought the idea of qemu is that the guest OS wouldn't need modification
> in order to run.

Yes, that is the idea, and qemu seems a lot more flexible. But for other
projects it may be a reasonable/desirable goal, linux-clusters for
instance, but it only works on x86 (for now at least).

Best regards

Peter K

-- 
We Can Put an End to Word Attachments:
http://www.fsf.org/philosophy/no-word-attachments.html

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

* Re: [Qemu-devel] OT: Running qemu without host os?
  2005-01-22 21:09             ` Peter Karlsson
  2005-01-22 21:47               ` Jim C. Brown
@ 2005-01-23  1:49               ` Mark Williamson
  1 sibling, 0 replies; 21+ messages in thread
From: Mark Williamson @ 2005-01-23  1:49 UTC (permalink / raw)
  To: qemu-devel

> > Unless all of the guest OSes were modified to be aware that they were
> > sharing hardware (or else some really intelligent dynamic patching was
> > going on), the OSes would step all over eachother.  For instance, one
> > guest OS might put the NIC in promiscuous mode right before another
> > guest OS boots and re-initializes the NIC to non-promiscuous mode.  A
> > third guest OS might then change the MAC address on the NIC and screw
> > up ARP.
>
> Isn't that what xen does? All guest OSes has to be modified to run.

In a situation where you want multiple guests to directly control different 
bits of the hardware, Xen can hide all the "irrelevant" hardware from a guest 
so that it won't tread on other guests' devices.  This technique would be 
applicable to a hypothetical "qemu on bare metal" as well.

Cheers,
Mark

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

* [Qemu-devel] anybody working on smp..?
  2005-01-22 20:56   ` Peter Karlsson
@ 2005-02-17 11:41     ` venkateshp
  0 siblings, 0 replies; 21+ messages in thread
From: venkateshp @ 2005-02-17 11:41 UTC (permalink / raw)
  To: qemu-devel

hi,
i edited the configure script to print a few lines of #defines for smp.. into
smp.h(or should it be printed into somewhere else?) now when i go to bios..
which would be easier (or better?) to do? take the bochs bios from earliest
version which came with smp, or edit the present bios?
if anybody working on smp, please share your experiences.. i'm seeing smp
support in the todo file under short term: for quite sometime..
thanks
DISCLAIMER: This Mail is from the International Institute of Information Technology ( ISquareIT, PUNE, INDIA-411 057 ) student mail system, The Institute is not responsible for the contents. In case you detect misuse or offensive content report to mailadmin@isquareit.ac.in.

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

end of thread, other threads:[~2005-02-17 11:48 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-21 16:10 [Qemu-devel] OT: Running qemu without host os? Peter Karlsson
2005-01-21 17:02 ` Jim C. Brown
2005-01-21 18:03   ` Peter Karlsson
2005-01-21 19:23     ` Jim C. Brown
2005-01-21 21:30       ` [Qemu-devel] " Ben Pfaff
2005-01-21 22:33         ` Karl Magdsick
2005-01-22  1:23           ` Peter Karlsson
2005-01-21 22:36         ` Jim C. Brown
2005-01-21 22:42           ` Ben Pfaff
2005-01-21 22:45       ` [Qemu-devel] " Peter Karlsson
2005-01-22  4:05         ` Jim C. Brown
2005-01-22 14:29           ` Karl Magdsick
2005-01-22 15:16             ` Paul Brook
2005-01-22 21:09             ` Peter Karlsson
2005-01-22 21:47               ` Jim C. Brown
2005-01-22 23:13                 ` Peter Karlsson
2005-01-23  1:49               ` Mark Williamson
2005-01-22 20:46           ` Peter Karlsson
2005-01-22 13:15 ` venkateshp
2005-01-22 20:56   ` Peter Karlsson
2005-02-17 11:41     ` [Qemu-devel] anybody working on smp..? venkateshp

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