Commit beab0b0
CP-22500: support clean suspend,shutdown etc for HVM Linux using upstream qemu
The original qemu-trad patch added as part of CP-9364 was split into two:
- a small upstream qemu patch that implements the xen platform io-port 0x10 and
collects the product-num and build-num for the PV driver, and exposes them via
the new query-xen-platform-pv-driver-info QMP command, see qemu.pg PR 34:
. CP-23471: Expose product number and build number of XEN PV driver
- this xenopsd patch, which collects product-num and build-num for the PV
driver using the QMP command above, and using the original algorithm in
qemu-trad, decides if the PV driver belongs to a HVM Linux guest. In this case,
it writes to xenstore as qemu-trad would have done, see qemu-trad.pg patches:
. CP-9364: write feature-flags to xenstore when HVM guest stops using
emulated devices
. CP-9364: xapi expects data/updated to exist
This patch keeps the same behaviour present in the original qemu-trad patch,
in order to maintain the the support for clean suspend, shutdown etc for the
same set of HVM Linux guests.
Signed-off-by: Marcus Granado <[email protected]>1 parent 5a2b8db commit beab0b0
3 files changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1912 | 1912 | | |
1913 | 1913 | | |
1914 | 1914 | | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
1915 | 1938 | | |
1916 | 1939 | | |
1917 | 1940 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| 236 | + | |
| 237 | + | |
236 | 238 | | |
237 | 239 | | |
238 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2763 | 2763 | | |
2764 | 2764 | | |
2765 | 2765 | | |
| 2766 | + | |
2766 | 2767 | | |
2767 | 2768 | | |
2768 | 2769 | | |
| |||
0 commit comments