On Thu, Jun 16, 2011 at 07:49:12PM +0300, Zeeshan Ali wrote: > From: "Zeeshan Ali (Khattak)" <[email protected]> > + <os id="http://microsoft.com/win2k8"> > + <short-id>win2k8</short-id> > + <name>Microsoft Windows Server 2008</name> > + <version>6.0</version> > + <vendor>Microsoft</vendor> > + <upgrades id="http://microsoft.com/windows"/> > + </os> > + > + <os id="http://microsoft.com/vista"> > + <short-id>vista</short-id> > + <name>Microsoft Windows Vista</name> > + <version>6.0</version> > + <vendor>Microsoft</vendor> > + <upgrades id="http://microsoft.com/windows"/> > + </os>
You need to expose the product variant field somewhere, else there is no way to distinguish between these two operating systems. IIRC for W2K8 this field contains "Server" and for Vista it contains "Client". If you have an existing Windows guest, run virt-inspector on it to display the product variant from the registry. Product variants are also useful elsewhere. In virt-inspector, we use this field to distinguish different spins of RHEL (like Red Hat Desktop vs. the regular Server spin). http://libguestfs.org/virt-inspector.1.html#_operatingsystem_ http://libguestfs.org/guestfs.3.html#guestfs_inspect_get_product_variant Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v _______________________________________________ virt-tools-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/virt-tools-list
