Xen 4.1 vt-d Hardware Virtualization OpenSuse 11.4 Need tutorial

Good morning.

I would like to know or to retrieve a guide with all the steps to follow to do a hardware virtualization in a 1.5 TB-HDD in which i want to have 2 VM with VT-d (Hardware virtualization) one VM with Opensuse 11.4 x64 and the other with Windows 7 x64.
The fact is that I want to run both VM’s at same time and i need aid and tips with Xen 4.1 because all the Tutorials and guides that I’ve seen are from non updated versions (3.0, 2.2…).
Do I need 3 partitions to virtualize by hardware (one for the host and the other 2 for the VM’s)??
Which host OS do you recommend me?
Is it hard to configure Xen and anyway, how to do it?

Basically I’m a novice use of linux and my doubts come up refering to Xen configuration, installation and Hardware virtualization selection ( Graphic Card Virtualization above all) because if I have to touch the BIOS settings tell me how, or the application sets it by itself?

What I want to virtualize is a 7 Professional 64bits with most of the Disk space (at least 1 TB)for gaming&multimedia, and Opensuse 11.4 64bits and if you could post any good repository i would be really grateful =) I’ll use suse to work & test software.

Motherboard Gigabyte GA-H67A-UD3H
Processor: Intel Socket 1155 - Intel Core I5 2400 3.1Ghz
OpenSuse 11.4 (default DVD kernel version)
RAM memory Kingston ValueRAM 8 GB DDR3 1333 in modules of 2.
Hard drive 3.5 SATA - Samsung HD154UI 1.5TB SATA2 32MB MAESTRO.

I’m waiting answers, thanks =)

PD: I’m not searching for software virtualization/ full virtualization / paravirtualization. I’m searching for vt-x, vt-d & Graphic card optimizing with windows emulated environment. And do you recommend me to use another Xen version or software to achieve this goal? thanks again.

You can have a look at this script I wrote to install virtual machines from anywhere to anywhere: vm-create : create kvm virtual machines

I use kvm, not Xen, but the tools to create and administrate the virtual machines (libvirt and virt-manager in this case) are the same. The method should work with Xen with no or little change - but it is untested and I won’t test it. Also I haven’t tested this script on 11.4 host yet - only on openSUSE 11.3, Fedora 14, Ubuntu 10.10 with different libvirt and virt-manager versions. I’ve been installed several Linux distros as guests, as well as FreeBSD, OpenBSD, NetBSD, DragonFlyBSD. The only which never worked for me was a Fedora guest on an openSUSE server and I have no idea why. As for the other operating system you mentionned, I wasn’t aware that it still existed.

Notice that the openSUSE Xen virtualization tools provide a different approach. If this is what you’re precisely looking for, the thread I refered to won’t help and might even be confusing. Please disregard my suggestion in this case.

What do you mean by approach? interface looks? Sorry about that I’m Spanish and i don’t get all the English sentences. ^^’ in the Spanish forum they couldn’t help me so I came here for help =).
The goal I’m after is how to install from the beginning a Operative Environment that has a host with 2 VM’s virtualized by hardware (vt-d, vt-x, VGA passthrough, etc.) and which features do I have to accomplish… (if you don’t understand something about my English please tell me I will try to say it in another words)

Different method, different tools, different user interfaces and more or less openSUSE specific.

I’m not using Xen. So I can’t tell if kvm is better. It is debatable and often debated. But if you only want two virtual machines, I would say that kvm is probably a good choice. kvm does only true hardware virtualization while Xen can also do paravirtualization. If you want to play with kvm, the vm-create script is a good start. It allows to install virtual machine (the size you want) from iso images or from the network either on a local on or a remote machine, or even boot live CD in ‘diskless’ virtual machines. But I’m sorry, I have to tell you that I don’t have the time to write more documentation or tutorials, other that the posts I’ve already made. I don’t know how/if it works on 11.4 - it might since I used it on ArchLinux clients, which usually are cutting edge … but again I haven’t tested it on openSUSE 11.4 and I won’t for a while. Here are two exemples of openSUSE and Debian guests installation:

For more information about this method, just google “libvirt”. My script is only a front-end to virt-install and virsh.

Thanks ^^
The fact is that i’m a novice at linux, so… almost all of your scripts seem chinese to me lol, could you post a guide with an example of installation with vt-d with kvm when you have time please? what OS might I use for hosting te VM’s? Opensuse?

I guess I just did (see my previous post.)

If the explanation posted in this thread is too complicated, I can’t make it easier. Alternately, you can also create and administrate virtual machines - locally or remotely - with virt-manager. This is a GUI program. But this is the kind of stuff you have to learn too. A GUI interface won’t be as flexible and powerful, as there are not enough buttons for everything.

Wouldn’t VirtualBox be an option for you? This is easier and satisfactory for most users.

If you’re asking here, the answer is most likely to be openSUSE. But any Linux would do. For Xen, openSUSE is appropriate. Fedora has already given up Xen. But IMHO you should learn Linux first … it takes years. :frowning:

Yeah I know that that’s why i need a step by step example to virtualize by hardware a VM on a OpenSuse host… now if you say that kvm has support for vt-d and vt-x then it’s ok with me =)

It has to be Hardware virtualization, i don’t think virtual box supports it, does it? It only supports up to paravirtualization though.

Yeah I’m at it. I’m studying, that’s the reason of this whole thing aside of being my own machine =).