spiceqa / autotest

Autotest - Fully automated tests on Linux
http://autotest.github.com/
Other
5 stars 3 forks source link

windows client support in rv_connect.py #3

Closed lkocman closed 10 years ago

lkocman commented 12 years ago

rv_connect.py requires windows support. I suggest to use libguestfs for deploying remote-viewer + spice gtk files.

lkocman commented 12 years ago

Upstream issue: https://github.com/autotest/autotest/issues/341

lkocman commented 12 years ago

lmr: It's a good idea, although we do have mechanisms to handle remote file transfer on windows guests, and I'm always careful to not introduce dependencies out of necessity.

lkocman commented 12 years ago

Hi could you share your idea with me? I was thinking of 3 possibilities (from which one is not multi platform)

libguestfs but seems like changes does not apply to a running guests for some reason (so we'd have to do it before __qemu_create()) mounting cdrom with file (just like you're doing it with kick starts) scp (which does not apply to windows)

lkocman commented 12 years ago

lmr: What we use to handle similar scenarios on kvm autotest today is the cdrom route. However, remote file transfer is encapsulated on kvm autotest transparently for windows and linux guests, such as vm.copy_files_from, vm.copy_files_to. All of them will automagically choose the proper transfer backend, which is scp on linux and rss on windows. rss is a remote shell server that we developed specially for kvm autotest.