All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Suspend and resume stubdomains
@ 2022-09-27  3:03 Demi Marie Obenour
  2022-09-27  3:03 ` [PATCH 1/5] libxl: Add a utility function for domain resume Demi Marie Obenour
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Demi Marie Obenour @ 2022-09-27  3:03 UTC (permalink / raw)
  To: xen-devel; +Cc: Demi Marie Obenour, Wei Liu, Anthony PERARD, Juergen Gross

Currently, libxl neither pauses nor suspends a stubdomain when
suspending the domain it serves.  Qubes OS has an out-of-tree patch that
just pauses the stubdomain, but that is also insufficient: sys-net (an
HVM with an attached PCI device) does not properly resume from suspend
on some systems, and the stubdomain considers the TSC clocksource to be
unstable after resume.

The first two patches add utility functions that will be used later.
The third patch is the one that actually suspends the stubdomain.  The
fourth patch makes suspending slow-to-respond domains more robust, and
the fifth patch adds extra logging.

Demi Marie Obenour (5):
  libxl: Add a utility function for domain resume
  libxl: Add utility function to check guest status
  libxl: Properly suspend stubdomains
  libxl: Fix race condition in domain suspension
  libxl: Add additional domain suspend/resume logs

 tools/libxl/libxl_dom_suspend.c | 276 +++++++++++++++++++++++++-------
 tools/libxl/libxl_domain.c      |   1 +
 tools/libxl/libxl_internal.h    |   1 +
 3 files changed, 218 insertions(+), 60 deletions(-)

-- 
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-09-27  3:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-27  3:03 [PATCH 0/5] Suspend and resume stubdomains Demi Marie Obenour
2022-09-27  3:03 ` [PATCH 1/5] libxl: Add a utility function for domain resume Demi Marie Obenour
2022-09-27  3:03 ` [PATCH 2/5] libxl: Add utility function to check guest status Demi Marie Obenour
2022-09-27  3:03 ` [PATCH 3/5] libxl: Properly suspend stubdomains Demi Marie Obenour
2022-09-27  3:04 ` [PATCH 4/5] libxl: Fix race condition in domain suspension Demi Marie Obenour
2022-09-27  3:04 ` [PATCH 5/5] libxl: Add additional domain suspend/resume logs Demi Marie Obenour

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.