Hello,

On Fri, Jul 01, 2011 at 03:34:42PM -0600, Petrus de Calguarium wrote:
> My physical system is a Fedora 15 x86_64 system with an Intel Core2 
> Duo E6320 processor that supports virtualization.
> 
> I have Windows Xp installed onto a qcow2 virtual machine. I call it 
> like so:
> 
> qemu-kvm -enable-kvm -cpu core2duo -m 1024 -boot c -vga std -soundhw 
> pcspk,es1370 -localtime -hda win-c.img -hdb win-e.img -cdrom /dev/sr0
> 
> 1. Do I need the -enable-kvm argument in the line above?

I think you don't need it, if you start qemu with qemu-kvm command.
May be it's useful for qemu command.

> 2. qemu-kvm -cpu ? mentions the arguments -cpu core2duo, kvm64, qemu64 
> and others, but, from the list provided, it is unclear which I am to 
> use. I have been using core2duo. Does this refer to my physical or 
> virtual computer? Which should I choose? I want my virtual machine to 

You can't change host (physical) computer processor by software.
-cpu option tells qemu, which CPU you need to emulate. For some software,
you need a special CPU.
Also there are software, which need license after processor change
or are allowed to run only on specific CPU, then this parameter is useful.

> be as close as possible to a clone of my real machine, for the 
> purposes of running the virtual machine.

You don't need to specify -cpu parameter. It will be chosen automatically.

> 3. I read about getting better performance using the virtio driver. 
> Can it be used with qemu-kvm or only with libvirt? If I can use it, 

You can use it with qemu-kvm directly and also with libvirt.

> how would I do so? I don't see any mention of it in the qemu 
> documentation, nor does there appear to be anywhere in the virtual 
> system's device manager where I can select a different driver for the 
> hard drive.

For paravirtualized disk drivers, see at -drive definition's "if" parameter.
If you define your disk as:

  -drive file=...,if=virtio

Your disk drive will be known for your host as paravirtualized virtio drive.

Similar parameter for network driver:

  -net ...,model=virtio

You need to install virtio drivers in windows. They are not a part of system
installation. Search this mailinglist archives for URLs, where you can find
them.

                                SAL
_______________________________________________
virt mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/virt

Reply via email to