Skip to contentSkip to conversation

Windows XP on AMD X2

DISCUSSION Franco Spinelli 6 participants 8 messages Dec 23, 2006 – Dec 25, 2006 5 messages not in the archive KVM

lore
Share & tools
lore
#0 lore raw

After installing XP on my AMD X2 machine using "fast formatting" tip, I am now using it for some test.

Some network questions:

- without any "-net" option I get a "user" config, I can see my physical gateway and browse internet but I can't see my LAN share - is this correct?
- with "-smb /somedir" I get also access to my LAN share - is correct?
- emulated nic is a RTL8109 at 10 Mb/Half Duplex - is correct?

Some disk questions:

- AutocadLT 2007 don't install, stopping after .NET framework installation - no CPU and no disk I/O activity but no freeze In XP log there is an event with a problem in wuaueng.dll. I have already installed this program in a Vmware XP virtual machine Using standard qemu without KVM (and without kqemu) give me same result.

Some USB tablet problems:

- mouse is correctly working but is step-moving

Some CD problem

- if there is no CD in drive, XP don't start using a -cdrom directive, putting a CD in drive make it to start.

Some performance problems:

- I/O on disk is about 1/3 of Vmware I/O preformance but about 3 times qemu performance
- display performance is approx as qemu
- cursor performance (using usb tablet) is as qemu performance
- no network performance for now

Start command is:

bin/qemu -hda vdisk.img -cdrom /dev/hdd -usb -usbdevice tablet -k it -smb /download -boot c -m 256

Regards

Franco Spinelli

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#2 lore raw
In reply to a message not in the archive
Quoted 9 lines · Franco Spinelli

After installing XP on my AMD X2 machine using "fast formatting" tip, I am now using it for some test.

Some network questions:

- without any "-net" option I get a "user" config, I can see my physical gateway and browse internet but I can't see my LAN share - is this correct?

You should be able to see your LAN. Try with an ip address if name resolution does not work (\\10.0.0.1\share).

Quoted 2 lines

- with "-smb /somedir" I get also access to my LAN share - is correct?

You get access to a directory on the host. See the qemu manpage for details.

Quoted 2 lines

- emulated nic is a RTL8109 at 10 Mb/Half Duplex - is correct?

Yes (though the speed settings aren't enforced).

Quoted 9 lines

Some disk questions:

- AutocadLT 2007 don't install, stopping after .NET framework installation - no CPU and no disk I/O activity but no freeze In XP log there is an event with a problem in wuaueng.dll. I have already installed this program in a Vmware XP virtual machine Using standard qemu without KVM (and without kqemu) give me same result.

In that case it's a qemu problem. Please inform qemu-devel.

Quoted 4 lines

Some USB tablet problems:

- mouse is correctly working but is step-moving

In qemu/hw/usb-hid.c, look for the lines

    /* Temporarily increase usb polling interval to prevent cpu
     * saturation (3 ms is way too often for kvm) */
    0x33,       /*  u8  ep_bInterval; (255ms -- usb 2.0 spec) */

Try to reduce the value from 0x33 to some lower value. There are also some potential interactivity improvements coming up.

Quoted 5 lines

Some CD problem

- if there is no CD in drive, XP don't start using a -cdrom directive, putting a CD in drive make it to start.

Most likely a qemu problem.

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
#12 lore raw
In reply to a message not in the archive
Quoted 4 lines · Franco Spinelli

Some CD problem

- if there is no CD in drive, XP don't start using a -cdrom directive, putting a CD in drive make it to start.

This is normal behavior. -cdrom expects valid media for inserting
into the vm. The vm will emulate a cdrom drive by default even if you leave off -cdrom (the vm will have an empty virtual cdrom tray). You can use the qemu monitor to insert media later during the vm session. ie:

Press ctrl-alt-2 to go to the qemu monitor

(qemu) change cdrom /dev/cdrom

Press ctrl-alt-1 to go back to the guest vga output.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#4 lore raw
In reply to a message not in the archive

Avi Kivity ha scritto:

Quoted 6 lines
Quoted 1 line · Franco Spinelli

You should be able to see your LAN. Try with an ip address if name resolution does not work (\\10.0.0.1\share).

Yes, it is ok using gateway IP address i.e. \\10.0.2.2\

Quoted 10 lines
Quoted 7 lines

- AutocadLT 2007 don't install, stopping after .NET framework installation - no CPU and no disk I/O activity but no freeze In XP log there is an event with a problem in wuaueng.dll. I have already installed this program in a Vmware XP virtual machine Using standard qemu without KVM (and without kqemu) give me same result.

In that case it's a qemu problem. Please inform qemu-devel.

Removing -cdrom switch from qemu invocation and adding cdrom with qemu monitor solve the problem. Very strange

Now, using this qemu command line

bin/qemu -hda vdisk.img -boot c -m 256 -redir tcp:3389::3389

I am able to use rdesktop with a better video and mouse performance. Can I start XP without graphic output or with graphic window closed to icone size?

Regards

Franco Spinelli

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#6 lore raw
In reply to a message not in the archive

Starting qemu with the -nographic argument should start Qemu without a graphical console.

/James

Quoted 36 lines · Franco Spinelli

Avi Kivity ha scritto:

Quoted 6 lines
Quoted 1 line · Franco Spinelli

You should be able to see your LAN. Try with an ip address if name resolution does not work (\\10.0.0.1\share).

Yes, it is ok using gateway IP address i.e. \\10.0.2.2\

Quoted 10 lines
Quoted 7 lines

- AutocadLT 2007 don't install, stopping after .NET framework installation - no CPU and no disk I/O activity but no freeze In XP log there is an event with a problem in wuaueng.dll. I have already installed this program in a Vmware XP virtual machine Using standard qemu without KVM (and without kqemu) give me same result.

In that case it's a qemu problem. Please inform qemu-devel.

Removing -cdrom switch from qemu invocation and adding cdrom with qemu monitor solve the problem. Very strange

Now, using this qemu command line

bin/qemu -hda vdisk.img -boot c -m 256 -redir tcp:3389::3389

I am able to use rdesktop with a better video and mouse performance. Can I start XP without graphic output or with graphic window closed to icone size?

Regards

Franco Spinelli

Quoted 10 lines

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#8 lore raw
In reply to a message not in the archive

James Jacobsson ha scritto:

Quoted 5 lines

Starting qemu with the -nographic argument should start Qemu without a graphical console.

/James

Correct.
But Windows XP don't use serial console so, using -nographic, there is non possibility to shutdown XP (not possible from a RDP session).

I don't get Qemu Monitor so there is no possibility to change CD or mount USB devices

Regards

Franco Spinelli

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#10 lore raw
In reply to a message not in the archive
Quoted 4 lines · Franco Spinelli

But Windows XP don't use serial console so, using -nographic, there is
non possibility to shutdown XP (not possible from a RDP session).

On Windows XP you can use the 'shutdown' command at the command prompt.

shutdown -s

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#11 lore raw
In reply to a message not in the archive
Quoted 10 lines · Franco Spinelli

James Jacobsson ha scritto:

Quoted 5 lines

Starting qemu with the -nographic argument should start Qemu without a graphical console.

/James

Correct.
But Windows XP don't use serial console so, using -nographic, there is non possibility to shutdown XP (not possible from a RDP session).

Just use the -vnc option. This way you can connect to the VGA output if you need to using VNC but ues RDP for everything else.

Quoted 2 lines

I don't get Qemu Monitor so there is no possibility to change CD or mount USB devices

BTW, I assume you're doing something like -cdrom /dev/cdrom (or at least the Windows equivalent).

In QEMU 0.8.2, which KVM is based on, there is very poor support for the host CDROM device. This has been improved in CVS though.

Regards,

Anthony Liguori

Quoted 10 lines

Regards

Franco Spinelli

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV