public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Windows XP on AMD X2
@ 2006-12-23 15:59 Franco Spinelli
       [not found] ` <458D526C.5080405-IWqWACnzNjyonA0d6jMUrA@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Franco Spinelli @ 2006-12-23 15:59 UTC (permalink / raw)
  To: kvm-devel

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

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

* Re: Windows XP on AMD X2
       [not found] ` <458D526C.5080405-IWqWACnzNjyonA0d6jMUrA@public.gmane.org>
@ 2006-12-24  8:34   ` Avi Kivity
       [not found]     ` <458E3B8A.3080404-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  2006-12-24  8:45   ` Lonnie Mendez
  1 sibling, 1 reply; 8+ messages in thread
From: Avi Kivity @ 2006-12-24  8:34 UTC (permalink / raw)
  To: Franco Spinelli; +Cc: kvm-devel

Franco Spinelli wrote:
> 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).

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

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

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

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

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

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


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

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

* Re: Windows XP on AMD X2
       [not found] ` <458D526C.5080405-IWqWACnzNjyonA0d6jMUrA@public.gmane.org>
  2006-12-24  8:34   ` Avi Kivity
@ 2006-12-24  8:45   ` Lonnie Mendez
  1 sibling, 0 replies; 8+ messages in thread
From: Lonnie Mendez @ 2006-12-24  8:45 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Sat, 2006-12-23 at 16:59 +0100, Franco Spinelli wrote:
> 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

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

* Re: Windows XP on AMD X2
       [not found]     ` <458E3B8A.3080404-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2006-12-24 13:27       ` Franco Spinelli
       [not found]         ` <458E8042.6000206-IWqWACnzNjyonA0d6jMUrA@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Franco Spinelli @ 2006-12-24 13:27 UTC (permalink / raw)
  To: kvm-devel

Avi Kivity ha scritto:
> Franco Spinelli wrote:
>>   
> 
> 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\

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

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

* Re: Windows XP on AMD X2
       [not found]         ` <458E8042.6000206-IWqWACnzNjyonA0d6jMUrA@public.gmane.org>
@ 2006-12-24 13:59           ` James Jacobsson
       [not found]             ` <fe247b50612240559o313d37a0gca318ac82e7e57db-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: James Jacobsson @ 2006-12-24 13:59 UTC (permalink / raw)
  To: Franco Spinelli; +Cc: kvm-devel

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

/James

On 12/24/06, Franco Spinelli <frspin-IWqWACnzNjyonA0d6jMUrA@public.gmane.org> wrote:
> Avi Kivity ha scritto:
> > Franco Spinelli wrote:
> >>
> >
> > 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\
>
> >> - 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
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> 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

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

* Re: Windows XP on AMD X2
       [not found]             ` <fe247b50612240559o313d37a0gca318ac82e7e57db-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2006-12-24 16:14               ` Franco Spinelli
       [not found]                 ` <458EA753.7000304-IWqWACnzNjyonA0d6jMUrA@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Franco Spinelli @ 2006-12-24 16:14 UTC (permalink / raw)
  To: kvm-devel

James Jacobsson ha scritto:
> 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

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

* Re: Windows XP on AMD X2
       [not found]                 ` <458EA753.7000304-IWqWACnzNjyonA0d6jMUrA@public.gmane.org>
@ 2006-12-24 17:50                   ` Mark Clarkson
  2006-12-25  1:25                   ` Anthony Liguori
  1 sibling, 0 replies; 8+ messages in thread
From: Mark Clarkson @ 2006-12-24 17:50 UTC (permalink / raw)
  To: Franco Spinelli; +Cc: kvm-devel

On Sun, 2006-12-24 at 17:14 +0100, Franco Spinelli wrote:
> 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

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

* Re: Windows XP on AMD X2
       [not found]                 ` <458EA753.7000304-IWqWACnzNjyonA0d6jMUrA@public.gmane.org>
  2006-12-24 17:50                   ` Mark Clarkson
@ 2006-12-25  1:25                   ` Anthony Liguori
  1 sibling, 0 replies; 8+ messages in thread
From: Anthony Liguori @ 2006-12-25  1:25 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Franco Spinelli wrote:
> James Jacobsson ha scritto:
>> 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.

> 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

> 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

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

end of thread, other threads:[~2006-12-25  1:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-23 15:59 Windows XP on AMD X2 Franco Spinelli
     [not found] ` <458D526C.5080405-IWqWACnzNjyonA0d6jMUrA@public.gmane.org>
2006-12-24  8:34   ` Avi Kivity
     [not found]     ` <458E3B8A.3080404-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2006-12-24 13:27       ` Franco Spinelli
     [not found]         ` <458E8042.6000206-IWqWACnzNjyonA0d6jMUrA@public.gmane.org>
2006-12-24 13:59           ` James Jacobsson
     [not found]             ` <fe247b50612240559o313d37a0gca318ac82e7e57db-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2006-12-24 16:14               ` Franco Spinelli
     [not found]                 ` <458EA753.7000304-IWqWACnzNjyonA0d6jMUrA@public.gmane.org>
2006-12-24 17:50                   ` Mark Clarkson
2006-12-25  1:25                   ` Anthony Liguori
2006-12-24  8:45   ` Lonnie Mendez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox