On Thu, Jun 16, 2011 at 08:14:00PM +0100, Richard W.M. Jones wrote: > 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
We could introduce a new OS relationship for this purpose. eg Have a general OS for 'vista', and then add further OS for the variants. I imagine each would have the same supported hardware, so hardware info could go into the generic 'vista' OS, but we could record the different install media paths in the variants <os id="http://microsoft.com/vista/client"> <short-id>vista-client</short-id> <name>Microsoft Windows Vista Client Edition</name> <version>6.0</version> <vendor>Microsoft</vendor> <variant id="http://microsoft.com/vista"/> <media> ... </media> </os> Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| _______________________________________________ virt-tools-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/virt-tools-list
