qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Hardware virtualization with QEMU
@ 2007-11-16  2:37 Lv
  0 siblings, 0 replies; 5+ messages in thread
From: Lv @ 2007-11-16  2:37 UTC (permalink / raw)
  To: qemu-devel

 From the slackbook WIKI;

"http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:qemu"

I quote below which relates to my questions:


My questions are as follows:
1) I know -hdc and -cdrom cannot be called at the same time, but i have 
no luck getting an image to be mounted with -hdb or -hdd. The same image 
I can successfully mount with -cdrom cannot be mounted with either -hdb 
or -hdd, What's up there. I could not figure out from the manuals if 
these should just be dd'ed images a directory or iso?

2) Are floppy images restricted to exactly 1.44MB created with dd? I 
cannot mount anything with the floppy switches either which is probably 
a size constraint I dont meet.

3) Since USB is seemingly working, what would the command be to activate 
the usb driver ?
-usb Intel SB82371    or -usb SB82371  ?

4) What is the attainable USB speed? Full USB-1 ?

5) Are the serial and parallel ports running at native speed without 
delays?




-----------------------------------------------------------------------
Emulated hardware and supported Guest OS-es

The QEMU Virtual Machine emulates a set of hardware components that is 
independent of the real hardware on which it is running. Since Slackware 
runs on x86 architecture, I will limit myself to a list of emulated 
hardware available to Slack (other emulated architectures may have other 
hardware peripherals available to the Guest OS).

     *
       IDE-Controller supporting up to 4 drives (the drives are disk 
images on the host computer
     *
       IDE CDROM device (in the form of a CD ISO image, or a real CDROM 
device)
     *
       Floppy disk controller supporting up to 2 drives (floppy disk images)
     *
       Graphics card (either a Cirrus Logic GD5446 PCI, or VGA-VESA)
     *
       PS/2 Mouse
     *
       Ethernet network card (Realtek RTL8139 PCI or NE2000 PCI)
     *
       A serial port (COM 1)
     *
       A parallel port (LPT 1)
     *
       Soundcard (Soundblaster 16 and/or ES1370)
     *
       A USB-UHCI host controller (the Intel SB82371)

The list of Operating Systems that run inside QEMU is quite long. Here 
is an unofficial list of supported Guest OS-es. I have run various 
Linuxes (for x68 and x86_64) and Windows 98/2000/XP inside QEMU.

-------------------------------------------------------------------------

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

* [Qemu-devel] Hardware virtualization with QEMU
@ 2007-11-16  2:38 admin
  2007-11-16  3:00 ` admin
  2007-11-16  8:34 ` Philipp Gühring
  0 siblings, 2 replies; 5+ messages in thread
From: admin @ 2007-11-16  2:38 UTC (permalink / raw)
  To: qemu-devel

 From the slackbook WIKI;

"http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:qemu"

I quote below which relates to my questions:


My questions are as follows:
1) I know -hdc and -cdrom cannot be called at the same time, but i have
no luck getting an image to be mounted with -hdb or -hdd. The same image
I can successfully mount with -cdrom cannot be mounted with either -hdb
or -hdd, What's up there. I could not figure out from the manuals if
these should just be dd'ed images a directory or iso?

2) Are floppy images restricted to exactly 1.44MB created with dd? I
cannot mount anything with the floppy switches either which is probably
a size constraint I dont meet.

3) Since USB is seemingly working, what would the command be to activate
the usb driver ?
-usb Intel SB82371    or -usb SB82371  ?

4) What is the attainable USB speed? Full USB-1 ?

5) Are the serial and parallel ports running at native speed without
delays?




-----------------------------------------------------------------------
Emulated hardware and supported Guest OS-es

The QEMU Virtual Machine emulates a set of hardware components that is
independent of the real hardware on which it is running. Since Slackware
runs on x86 architecture, I will limit myself to a list of emulated
hardware available to Slack (other emulated architectures may have other
hardware peripherals available to the Guest OS).

     *
       IDE-Controller supporting up to 4 drives (the drives are disk
images on the host computer
     *
       IDE CDROM device (in the form of a CD ISO image, or a real CDROM
device)
     *
       Floppy disk controller supporting up to 2 drives (floppy disk images)
     *
       Graphics card (either a Cirrus Logic GD5446 PCI, or VGA-VESA)
     *
       PS/2 Mouse
     *
       Ethernet network card (Realtek RTL8139 PCI or NE2000 PCI)
     *
       A serial port (COM 1)
     *
       A parallel port (LPT 1)
     *
       Soundcard (Soundblaster 16 and/or ES1370)
     *
       A USB-UHCI host controller (the Intel SB82371)

The list of Operating Systems that run inside QEMU is quite long. Here
is an unofficial list of supported Guest OS-es. I have run various
Linuxes (for x68 and x86_64) and Windows 98/2000/XP inside QEMU.

-------------------------------------------------------------------------

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

* Re: [Qemu-devel] Hardware virtualization with QEMU
  2007-11-16  2:38 [Qemu-devel] Hardware virtualization with QEMU admin
@ 2007-11-16  3:00 ` admin
  2007-11-16  8:34 ` Philipp Gühring
  1 sibling, 0 replies; 5+ messages in thread
From: admin @ 2007-11-16  3:00 UTC (permalink / raw)
  To: qemu-devel

I soved (3) with this
qemu -hda WinXP_Home.img  -kernel-kqemu -usb -usbdevice host:04b4:8613 
-net nic,model=rtl8139 -net user
I can see the device and the intel hubs are running.

Amazing, it is the first VM I see that even tries to address USB except 
for VMWARE.
The remainder of the questions are still open.


admin@mmri.us wrote:
> From the slackbook WIKI;
>
> "http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:qemu"
>
> I quote below which relates to my questions:
>
>
> My questions are as follows:
> 1) I know -hdc and -cdrom cannot be called at the same time, but i have
> no luck getting an image to be mounted with -hdb or -hdd. The same image
> I can successfully mount with -cdrom cannot be mounted with either -hdb
> or -hdd, What's up there. I could not figure out from the manuals if
> these should just be dd'ed images a directory or iso?
>
> 2) Are floppy images restricted to exactly 1.44MB created with dd? I
> cannot mount anything with the floppy switches either which is probably
> a size constraint I dont meet.
>
> 3) Since USB is seemingly working, what would the command be to activate
> the usb driver ?
> -usb Intel SB82371    or -usb SB82371  ?
>
> 4) What is the attainable USB speed? Full USB-1 ?
>
> 5) Are the serial and parallel ports running at native speed without
> delays?

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

* Re: [Qemu-devel] Hardware virtualization with QEMU
  2007-11-16  2:38 [Qemu-devel] Hardware virtualization with QEMU admin
  2007-11-16  3:00 ` admin
@ 2007-11-16  8:34 ` Philipp Gühring
  2007-11-16 22:02   ` andrzej zaborowski
  1 sibling, 1 reply; 5+ messages in thread
From: Philipp Gühring @ 2007-11-16  8:34 UTC (permalink / raw)
  To: qemu-devel

Hi,

> My questions are as follows:
> 1) I know -hdc and -cdrom cannot be called at the same time, but i have
> no luck getting an image to be mounted with -hdb or -hdd. 

For -cdrom you need ISO images.
For -hd[a-d] you need harddisk-images, which are done like this
dd id=/dev/hda of=myimage.img
qemu -hda myimage.img

You can´t dd a directory. You could mkisofs a directory or you could use the 
Samba sharing to hand over a directory.

> The same image 
> I can successfully mount with -cdrom cannot be mounted with either -hdb
> or -hdd, 

Then it´s likely an ISO image, and not a harddisk image.

> What's up there. I could not figure out from the manuals if 
> these should just be dd'ed images a directory or iso?

You have to dd a whole harddisk (not just a partition)

> 2) Are floppy images restricted to exactly 1.44MB created with dd? I
> cannot mount anything with the floppy switches either which is probably
> a size constraint I dont meet.

I don´t know.

> 4) What is the attainable USB speed? Full USB-1 ?

I think speed is something virtual at that point, but I am not sure.

> 5) Are the serial and parallel ports running at native speed without
> delays?

You will always have delays in full-system emulation systems like Qemu. How 
large those are depends on a lot of factors, so you should measure it 
yourself, I guess.

Best regards,
Philipp Gühring

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

* Re: [Qemu-devel] Hardware virtualization with QEMU
  2007-11-16  8:34 ` Philipp Gühring
@ 2007-11-16 22:02   ` andrzej zaborowski
  0 siblings, 0 replies; 5+ messages in thread
From: andrzej zaborowski @ 2007-11-16 22:02 UTC (permalink / raw)
  To: qemu-devel

On 16/11/2007, Philipp Gühring <pg@futureware.at> wrote:
> Hi,
>
> > My questions are as follows:
> > 1) I know -hdc and -cdrom cannot be called at the same time, but i have
> > no luck getting an image to be mounted with -hdb or -hdd.
>
> For -cdrom you need ISO images.
> For -hd[a-d] you need harddisk-images, which are done like this
> dd id=/dev/hda of=myimage.img
> qemu -hda myimage.img

On systems where mounting is done manually you can use the ISO
filesystem on a harddisk without problems. You can also mount
filesystems from a partitioned image (what you call harddisk image) on
a cdrom. So this is not true.

>
> You can´t dd a directory. You could mkisofs a directory or you could use the
> Samba sharing to hand over a directory.
>
> > The same image
> > I can successfully mount with -cdrom cannot be mounted with either -hdb
> > or -hdd,
>
> Then it´s likely an ISO image, and not a harddisk image.
>
> > What's up there. I could not figure out from the manuals if
> > these should just be dd'ed images a directory or iso?

dd just makes a copy. You can use the device or a dd'ed copy of the
device (image) and it makes no difference. dd and cp can often be used
interchangeably.

>
> You have to dd a whole harddisk (not just a partition)
>
> > 2) Are floppy images restricted to exactly 1.44MB created with dd? I
> > cannot mount anything with the floppy switches either which is probably
> > a size constraint I dont meet.
>
> I don´t know.
>
> > 4) What is the attainable USB speed? Full USB-1 ?
>
> I think speed is something virtual at that point, but I am not sure.

Yes, with virtual devices you can reach any speed the computer can do.
With physical devices you can probably reach "full speed" (12 MB/s) or
"slow speed" (1.5 MB/s) if your computer is fast enough.

Regards

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

end of thread, other threads:[~2007-11-16 22:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-16  2:38 [Qemu-devel] Hardware virtualization with QEMU admin
2007-11-16  3:00 ` admin
2007-11-16  8:34 ` Philipp Gühring
2007-11-16 22:02   ` andrzej zaborowski
  -- strict thread matches above, loose matches on Subject: below --
2007-11-16  2:37 Lv

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