[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [libosinfo 2/2] win8: Add one more volume ID pattern



On Tue, Nov 27, 2012 at 04:59:26PM +0100, Christophe Fergeau wrote:
> On Tue, Nov 27, 2012 at 03:36:17PM +0000, Richard W.M. Jones wrote:
> > It looks like it.  For libguestfs we need to variant as I described.
> > We don't care about Editions.  Although there is probably a mapping
> > between "Editions" and the variant which is finally installed.
> 
> libosinfo lists win2k8 and win7 as 2 totally unrelated OSes:
> 
> <os id="http://microsoft.com/win/2k8";>
>     <short-id>win2k8</short-id>
>     <name>Microsoft Windows Server 2008</name>
>     <version>6.0</version>
>     <vendor>Microsoft Corporation</vendor>
>     <family>winnt</family>
>     <distro>win</distro>
>     <derives-from id="http://microsoft.com/win/2k3r2"/>
>     <upgrades id="http://microsoft.com/win/2k3r2"/>
> </os>
> 
> <os id="http://microsoft.com/win/7";>
>     <short-id>win7</short-id>
>     <name>Microsoft Windows 7</name>
>     <version>6.1</version>
>     <vendor>Microsoft Corporation</vendor>
>     <family>winnt</family>
>     <distro>win</distro>
>     <derives-from id="http://microsoft.com/win/vista"/>
>     <upgrades id="http://microsoft.com/win/vista"/>
> </os>
>
> Editions would split these entries some more, but would not create
> relations between win2k8 and win7, so I think more work will be
> needed to support your use case.  What is the problem that you are
> trying to solve with this desktop/server relations in Windows
> versions?

Well we're not using libosinfo, nor proposing to use libosinfo, for
installed VMs, so it doesn't matter for virt-v2v.  All we're doing
with libosinfo is using the <iso> strings from the database to help
identify ISOs.

Nevertheless what you've got there is essentially wrong in several
respects:

- Windows 2008 had internal version 6.0.

- Windows 2008 R2 is a different OS with internal version 6.1
  (source: http://msdn.microsoft.com/en-gb/library/windows/desktop/ms724832%28v=vs.85%29.aspx)

- Windows 7 and Windows 2008 R2 are really the same OS once they're
  installed on a disk, but they differ in the
  HKLM\Software\Microsoft\Windows NT\CurrentVersion\InstallationType
  field in the registry.

- Both Windows 7 and Windows 2008 derive from work done at Microsoft
  on Windows Vista.  [I know that "derives-from" in the XML is more
  about organizing and minimizing the size of the database, rather
  than expressing the history of the code, but nevertheless it seems
  like you could align both senses here.]

- Windows 2008 R2 derives from [in the software development sense]
  Windows 7.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]