I am doing some research on installing pre-made windows iso to work with openvz container. If you have tried this before please let me know your experience. I will appreciate your feedback on this.
openvz uses one single modified kernel on the host machine. this means that the kernel is shared between the openvz containers, hence it can run gnu/linux containers only.
Yes thats true the node kernal is shared but we are now working on that only to modify the kernel of openvz container to specific vm. I appreciate your valuable response.
How are you planning to run a windows instances on a Linux Kernel ?, or are you kind of porting the OpenVZ technology to windows to create Windows containers on a Windows Environment ?
[TL;DR] Running Windows directly on OpenVZ is impossible. Period. [Explanation] You need to understand that OpenVZ is used for OS-level virtualization. The advantage of this type of virtualization is that the host operating system does not need to virtualize/emulate system call interfaces for operating systems that differ from itself. Since these other/additional interfaces are not present, alternative operating systems cannot be virtualized. This is a common and well-understood limitation of this type of virtualization. [Alternative] In the past Oracle/Sun have played marketing games by stating that Solaris Zones (another OS-level virtualization solution) can run Windows. What they don't say upfront however is that you actually configure it as follows: Solaris Zones -> (running) -> VirtualBox -> (running) -> Windows Since VirtualBox makes use of a hypervisor, it virtualizes everything required by the Windows instance thus permitting it to function normally. The main point being that the Windows instance does not run directly within a Solaris Zone. You could do something similar with OpenVZ and accept the performance penalties. However, my honest opinion, is that you should rather drop OpenVZ and simply go for something more appropriate for Windows VMs (KVM, XEN).
You cannot run Windows or any different OS other than Linux on OpenVZ. What is the purpose of developing a solution for running Windows on OpenVZ container if you can simply use appropriate virtualization system like KVM ? Every other solution for OpenVZ will most likely use more resources than an appropriate virtualization system. OpenVZ's main benefit is the better performance.
Neither Windows nor BSD can be run inside an OpenVZ container. OpenVZ is just a user level virtualization, which means the OS inside the container has to use the same kernel as the host system. If you want to run virtualized Windows containers, I recommend that you look into XEN or KVM. A good and free control panel for KVM would be Proxmox.