xen-org/xen-api — pull request #952 by johnelse (2012-12-19 19:31:00+00:00)
Title: CLEARWATER: CA-89023: Fix PV tools OS type detection.

Using the /drivers/xenvbd xenstore key to flag that a guest is Windows
is problematic, since:

1. This key goes away after suspend/resume or migrate, so cannot be relied upon to mark PV tools as out of date after a rolling pool upgrade.
2. This key isn't written at all by the Tampa PV drivers.

Instead, we now check that /data/os_distro equals "windows" - this value is
hardcoded in the windows guest agent.