Discussion:
What does viridian=1 do?
P***@sofor.fi
2009-08-20 05:52:39 UTC
Permalink
Hi

I'm wondering what does viridian=1 option actually does? I installed Xen
3.4.1 from Gitco's and installed Windows 2008 R2 (standard) server,
64-bit, which supposed is hyper-v aware? But looking device manager i dont
see anything special, still all using emulation drivers. Should i install
Hyper-V IC?

Terveisin/Regards,
Pekka Panula, Net Servant Oy
James Harper
2009-08-20 06:18:03 UTC
Permalink
Post by P***@sofor.fi
Hi
I'm wondering what does viridian=1 option actually does? I installed
Xen 3.4.1
Post by P***@sofor.fi
from Gitco's and installed Windows 2008 R2 (standard) server, 64-bit,
which
Post by P***@sofor.fi
supposed is hyper-v aware? But looking device manager i dont see
anything
Post by P***@sofor.fi
special, still all using emulation drivers. Should i install Hyper-V
IC?
One thing it does is disable a particular type of crash where an
inter-cpu interrupt/message is not delivered as fast as it would be on a
physical machine.

I don't think it presents a hyperv compatible driver layer to the domu
though.

James
Pasi Kärkkäinen
2009-08-20 07:35:16 UTC
Permalink
Post by P***@sofor.fi
Hi
I'm wondering what does viridian=1 option actually does? I installed Xen
3.4.1 from Gitco's and installed Windows 2008 R2 (standard) server,
64-bit, which supposed is hyper-v aware? But looking device manager i dont
see anything special, still all using emulation drivers. Should i install
Hyper-V IC?
See here for more information:
http://lists.xensource.com/archives/html/xen-users/2009-07/msg00661.html

So for faster IO you need GPLPV drivers.

-- Pasi
Florian Manschwetus
2009-08-20 11:14:13 UTC
Permalink
Post by Pasi Kärkkäinen
Post by P***@sofor.fi
Hi
I'm wondering what does viridian=1 option actually does? I installed Xen
3.4.1 from Gitco's and installed Windows 2008 R2 (standard) server,
64-bit, which supposed is hyper-v aware? But looking device manager i dont
see anything special, still all using emulation drivers. Should i install
Hyper-V IC?
http://lists.xensource.com/archives/html/xen-users/2009-07/msg00661.html
So for faster IO you need GPLPV drivers.
I still would vote for further investigation and development on viridian
enlighten IO. It would bring us out of the hell with driver signing, and
would also make a lot of stuff easier from the users stand.
The work of James Harper is pretty good but for 2008 x64 more than just
far away from ready for production.
As I mentioned before a first real win would be to exploit the viridian
stuff to get an out-of-box working shutdown notification.

Florian
Post by Pasi Kärkkäinen
-- Pasi
_______________________________________________
Xen-users mailing list
http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2009-08-20 14:18:04 UTC
Permalink
Post by Florian Manschwetus
Post by Pasi Kärkkäinen
Post by P***@sofor.fi
Hi
I'm wondering what does viridian=1 option actually does? I installed Xen
3.4.1 from Gitco's and installed Windows 2008 R2 (standard) server,
64-bit, which supposed is hyper-v aware? But looking device manager i dont
see anything special, still all using emulation drivers. Should i install
Hyper-V IC?
http://lists.xensource.com/archives/html/xen-users/2009-07/msg00661.html
So for faster IO you need GPLPV drivers.
I still would vote for further investigation and development on viridian
enlighten IO. It would bring us out of the hell with driver signing, and
would also make a lot of stuff easier from the users stand.
The work of James Harper is pretty good but for 2008 x64 more than just
far away from ready for production.
Yes, definitely that would be good.

Feel free to start working on it :) I believe the needed viridian interfaces
can be seen at least from linux hyper-v driver (linux-ic). Also iirc ms
released some docs about the interfaces.
Post by Florian Manschwetus
As I mentioned before a first real win would be to exploit the viridian
stuff to get an out-of-box working shutdown notification.
Indeed.

-- Pasi
James Harper
2009-08-21 02:23:00 UTC
Permalink
Post by Pasi Kärkkäinen
Post by Florian Manschwetus
Post by Pasi Kärkkäinen
So for faster IO you need GPLPV drivers.
I still would vote for further investigation and development on viridian
enlighten IO. It would bring us out of the hell with driver signing, and
would also make a lot of stuff easier from the users stand.
The work of James Harper is pretty good but for 2008 x64 more than just
far away from ready for production.
Yes, definitely that would be good.
Feel free to start working on it :) I believe the needed viridian interfaces
can be seen at least from linux hyper-v driver (linux-ic). Also iirc ms
released some docs about the interfaces.
You are talking about reverse engineering a backend driver to match the frontend driver in Linux. That would certainly be an interesting project, but I wonder how Microsoft would feel about it :)

James
Florian Manschwetus
2009-08-21 07:47:50 UTC
Permalink
Post by James Harper
Post by Pasi Kärkkäinen
Post by Florian Manschwetus
Post by Pasi Kärkkäinen
So for faster IO you need GPLPV drivers.
I still would vote for further investigation and development on viridian
enlighten IO. It would bring us out of the hell with driver signing, and
would also make a lot of stuff easier from the users stand.
The work of James Harper is pretty good but for 2008 x64 more than just
far away from ready for production.
Yes, definitely that would be good.
Feel free to start working on it :) I believe the needed viridian interfaces
can be seen at least from linux hyper-v driver (linux-ic). Also iirc ms
released some docs about the interfaces.
You are talking about reverse engineering a backend driver to match the frontend driver in Linux. That would certainly be an interesting project, but I wonder how Microsoft would feel about it :)
James
Uhm, James you have the best knowledge about this topic (the other way
around), would you say this is a real gap? Or is the GPLPV-driver on the
way to fill it anyway soon, especially are there plans to get the
drivers signed? As I see it there wouldn't be any other proper solutions
for this topic.

Florian
Post by James Harper
_______________________________________________
Xen-users mailing list
http://lists.xensource.com/xen-users
James Harper
2009-08-21 10:15:49 UTC
Permalink
Post by Pasi Kärkkäinen
Post by James Harper
Post by Pasi Kärkkäinen
Post by Florian Manschwetus
Post by Pasi Kärkkäinen
So for faster IO you need GPLPV drivers.
I still would vote for further investigation and development on viridian
enlighten IO. It would bring us out of the hell with driver signing, and
would also make a lot of stuff easier from the users stand.
The work of James Harper is pretty good but for 2008 x64 more than just
far away from ready for production.
Yes, definitely that would be good.
Feel free to start working on it :) I believe the needed viridian
interfaces
Post by James Harper
Post by Pasi Kärkkäinen
can be seen at least from linux hyper-v driver (linux-ic). Also iirc ms
released some docs about the interfaces.
You are talking about reverse engineering a backend driver to match the
frontend driver in Linux. That would certainly be an interesting project,
but
Post by Pasi Kärkkäinen
I wonder how Microsoft would feel about it :)
Post by James Harper
James
Uhm, James you have the best knowledge about this topic (the other way
around), would you say this is a real gap?
I'm not at all familiar with HyperV aside from a little bit of knowledge
about what viridian=1 does, and only then because viridian=1 crashed gplpv
due to a bug in the way I had implemented my cpuid calls.

The point I was making is that Microsoft have provided the open source
drivers to better allow other operating systems to integrate with their
product. If you reverse engineer that to make their operating systems work
better with xen then they might get a little bit upset... or they might
not... I'm not a Microsoft lawyer :)

There may well be some technical limitations that prevent a HyperV
compatible backend layer being added to Xen... I don't know enough about
either to say.

If it could be done, then a whole lot of things would 'just work', and as
you say it could solve a lot of driver issues.
Post by Pasi Kärkkäinen
Or is the GPLPV-driver on the
way to fill it anyway soon, especially are there plans to get the
drivers signed? As I see it there wouldn't be any other proper solutions
for this topic.
I'm trying to fix a few bugs in the shutdown/suspend/resume/etc paths at the
moment and it's proving a long and frustrating exercise, and I haven't had a
lot of time to work on it lately.

James

Continue reading on narkive:
Loading...