[virt-tools-list] virt-manager for Windows

Matthias Bolte matthias.bolte at googlemail.com
Mon Jan 31 22:08:35 UTC 2011


2011/1/31 Justin Clift <jclift at redhat.com>:
> On 01/02/2011, at 5:50 AM, Kai Meyer wrote:
>> I'm confident I could follow the instructions provided at http://people.redhat.com/~rjones/win32-porting/ , but it appears that was written a long time ago, and I'm in no urgent hurry. Do the instructions still apply? Is there somebody already building these on their own that I could piggy-back off of their efforts?
>>
>> I initially asked rjones (who claims authorship to the above article), and he asked I emailed the list, and copy jclift.
>
> Good thinking guys. :)
>
> From memory, Matthias mentioned on IRC a while ago that he'd gotten virt-manager to work on windows.  But, I also
> kind of remember him mentioning he had to code in a few dodgy hacks to make it work.
>
> Matthias, am I remembering that somewhat correctly?  If so, is the code on GitHub or something that Kai could pick
> up and try to work with?
>
> Regards and best wishes,
>
> Justin Clift

Yes, I have virt-manager working on Windows. It can open a connection,
list domains, start and stop them. I didn't try to create new domains.

But I had to write dummy implementations for stuff that's not there on
Windows like dbus and gconf. I wrote a minimal dummy dbus
implementation, even though virt-manager has a --no-dbus option that
doesn't disable use of dbus completely. I also wrote a minimal gconf
implementation. Both are just stubs that make virt-manager usable but
nothing more.

The gconf part will need a more serious implementation based on the
registry or some .ini file, otherwise virt-manager can't store it's
configuration properly. The dbus dummy is good enough.

The scripts that pull in and build all dependencies and virt-manager
itself are part of msys_setup [1], but I didn't publish them yet as
they still need some polish.

If I have some time left this week I'll take care of this.

[1] https://github.com/photron/msys_setup

Matthias




More information about the virt-tools-list mailing list