Re: [Autotest] [KVM-AUTOTEST PATCH 0/7] KVM test: support for the new remote shell server for Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 18, 2009 at 7:15 AM, Michael Goldish<mgoldish@xxxxxxxxxx> wrote:
>
> ----- "Lucas Meneghel Rodrigues" <lmr@xxxxxxxxxx> wrote:
>
>> Ok, very good, similarly to the previous patchset, I rebased one of
>> the patches and applied the set, I am making tests with an rss binary
>> generated by the cross compiler.
>>
>> I am testing with Winxp 32 bit, so far so good and rss.exe works as
>> expected. I guess I will test more with other hosts, but I am not too
>> far from applying this patchset as well.
>>
>> Will keep you posted!
>
> Note that this patchset should also allow you to install rss.exe
> automatically using step files, so I hope that in your tests you're not
> installing it manually.  I'm not expecting you to test everything (it
> takes quite a while), but if you're testing anyway, better let the step
> files do some work too.
>
> (I know we'll start using unattended installation scripts soon but it
> doesn't hurt to have functional step files too.)
>
> Also note that using a certain qemu/KVM version I couldn't get Vista to
> work with user mode.  This isn't an rss.exe problem.  In TAP mode it
> works just fine.
>
> In any case, thanks for reviewing and testing the patchsets.

Ok Michael, turns out the win2000 failure was a silly mistake. So,
after checking the code and going trough light testing, I applied this
patchset

http://autotest.kernel.org/changeset/3553
http://autotest.kernel.org/changeset/3554
http://autotest.kernel.org/changeset/3555
http://autotest.kernel.org/changeset/3556

Sudhir, perhaps you can try the upstream tree starting with r3556. It
has all the changes you have asked for earlier (rss and stuff).

In order to get things all set, I suggest:

1) Create a directory with the following contents:

[lmr@freedom rss]$ ls -l
total 52
-rwxrwxr-x. 1 lmr lmr 42038 2009-08-17 18:55 rss.exe
-rw-rw-r--. 1 lmr lmr   517 2009-08-17 18:57 rss.reg
-rw-rw-r--. 1 lmr lmr   972 2009-08-17 18:57 setuprss.bat

Those can be found under client/tests/kvm/deps directory on the most
current autotest tree.

2) Create an iso from it:

genisoimage -o rss.iso -max-iso9660-filenames -relaxed-filenames -D
--input-charset iso8859-1 rss

3) Put rss.iso under your windows iso directory.

4) Profit :)

If you want to compile the latest rss, you could try numerous things,
here are some possible routes:

1) Compile it under a windows host with mingw installed
2) Compile it under Fedora 12 with the cross compile environment
installed, you need to install at least these through yum:

mingw32-w32api
mingw32-gcc-c++
mingw32-gcc

And then do a:

i686-pc-mingw32-g++ rss.cpp -lws2_32 -mwindows -o rss.exe

I hope that was helpful. After this patch-applying spree, I gotta a
*lot* of documentation to write to our wiki :)

Cheers,

Lucas
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux