From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:60377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTl5V-0006hb-ED for qemu-devel@nongnu.org; Thu, 24 Nov 2011 21:00:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTl5T-0002Du-NR for qemu-devel@nongnu.org; Thu, 24 Nov 2011 21:00:25 -0500 Received: from mail-iy0-f173.google.com ([209.85.210.173]:46556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTl5T-0002De-D2 for qemu-devel@nongnu.org; Thu, 24 Nov 2011 21:00:23 -0500 Received: by iakk32 with SMTP id k32so4285924iak.4 for ; Thu, 24 Nov 2011 18:00:22 -0800 (PST) Message-ID: <4ECEF67E.6040805@gmail.com> Date: Fri, 25 Nov 2011 09:59:26 +0800 From: "Cao,Bing Bu" MIME-Version: 1.0 References: <4ECA0E46.1020400@linux.vnet.ibm.com> <4ECA2902.4000307@redhat.com> In-Reply-To: <4ECA2902.4000307@redhat.com> Content-Type: multipart/alternative; boundary="------------000400090507070505080608" Subject: Re: [Qemu-devel] windows guest virtio serial and balloon driver test issues List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: afrenkel@redhat.com Cc: Yan Vugenfirer , "Cao, Bing Bu" , 'Dor Laor' , QEMU Developers , 'Ronen Hod' , Vadim Rozenfeld , akong@redhat.com This is a multi-part message in MIME format. --------------000400090507070505080608 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi,all Thanks,Frenkel.The test application of the balloon must be run as admin. But I found 2 problems(question) this week when testing windows guest drivers: * If only virtio serial driver installed,the virtio serial test app can not enumerate/find the virtio serial device, but after virtio balloon driver installed,the app can find the virtio serial device correctly. Because of the same GUID which balloon and serial both use? * * * When inflate/deflate the balloon size using qemu monitor balloon command, the total physical memory did not decrease/increase correspondingly,as seen from "resource monitor", only the "available memory" size descrease/increase.But I test on other Linux guest, the total physical memory of the guest OS was changed. Is it a problem? If not,is it confusing to user? Related to the windows internal memory management? On 11/21/2011 06:33 PM, Arkady Frenkel wrote: > On 11/21/2011 10:39 AM, Cao,Bing Bu wrote: >> Hi, >> >> Recently,I am testing windows guest driver on Win7 and >> WinXP(32bit) with the latest windows guest driver development source. >> Download from >> http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/src/ >> >> >> virtio-blk: >> It seems OK both on Win7 and WinXP,the r/w performance is better >> than IDE disk. >> >> >> >> virtio-serial: >> I tried to test virtio serial driver using the test application in >> the project. >> >> WinXP: >> Write: OK >> Read: Error: Read File Failed. >> >> Win7: >> The test application return error "can not find vioserial device". >> But i debug the code and check that the GetDevicePath() return >> value is not NULL,and same as the value when testing on WinXP. >> Why the CreateFile() in init() not called? (: >> >> >> virtio-balloon: >> >> QEMU monitor: device_add virtio-balloon-pci >> >> On the guest,a new device "PCI standard RAM controller" added. >> But the Device Manager prompt "No driver installed for this >> device", but install the driver "balloon.sys" failed. >> It said the driver is up to date. Confused. (: >> >> How can I install and test the balloon driver on Windows? >> >> >> >> The kvm-guest-drivers-windows.git on kernel.org is not available,is >> there any mirror git repository? >> Any mail-list or bugzilla for windows guest driver? >> >> Any help from will be appreciated. >> >> > You need to run serial test app as admin only. > > To install balloon you have to go throw additional option when click on > "Browse my computer for driver software". Choose "Let me pick from the > list of device drivers on my computer" option. > > Arkady > Best regards Cao,Bing Bu --------------000400090507070505080608 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi,all


Thanks,Frenkel.The test application of the balloon must be run as admin.



But I found 2 problems(question) this week when testing windows guest drivers:



    If only virtio serial driver installed,the virtio serial test app can not enumerate/find the virtio serial device,
    but after virtio balloon driver installed,the app can find the virtio serial device correctly.
    Because of the same GUID which balloon and serial both use?




    When inflate/deflate the balloon size using qemu monitor balloon command,
    the total physical memory did not decrease/increase correspondingly,as seen from "resource monitor",
    only the "available memory" size descrease/increase.But I test on other Linux guest,
    the total physical memory of the guest OS was changed.

    Is it a problem? If not,is it confusing to user?
    Related to the windows internal memory management?




On 11/21/2011 06:33 PM, Arkady Frenkel wrote:
On 11/21/2011 10:39 AM, Cao,Bing Bu wrote:
Hi,

    Recently,I am testing windows guest driver on Win7 and
WinXP(32bit) with the latest windows guest driver development source.
    Download from
http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/src/


virtio-blk:
    It seems OK both on Win7 and WinXP,the r/w performance is better
than IDE disk.



virtio-serial:
    I tried to test virtio serial driver using the test application in
the project.

    WinXP:
    Write: OK
    Read: Error: Read File Failed.

    Win7:
    The test application return error "can not find vioserial device".
    But i debug the code and check that the GetDevicePath() return
value is not NULL,and same as the value when testing on WinXP.
    Why the CreateFile() in init() not called? (:


virtio-balloon:

    QEMU monitor: device_add virtio-balloon-pci

    On the guest,a new device "PCI standard RAM controller" added.
    But the Device Manager prompt "No driver installed for this
device", but install the driver "balloon.sys" failed.
    It said the driver is up to date.    Confused. (:

    How can I install and test the balloon driver on Windows?



The kvm-guest-drivers-windows.git on kernel.org is not available,is
there any mirror git repository?
Any mail-list or bugzilla for windows guest driver?

Any help from will be appreciated.


You need to run serial test app as admin only.

To install balloon you have to go throw additional option when click on
"Browse my computer for driver software". Choose "Let me pick from the
list of device drivers on my computer" option.

Arkady


Best regards
Cao,Bing Bu

--------------000400090507070505080608--