All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0 of 6] Add support for a VM generation ID virtual device (v2)
@ 2011-11-29 10:53 Paul Durrant
  2011-11-29 10:53 ` [PATCH 1 of 6] Add an ACPI device exposing a package called ADDR, evaluating to two Paul Durrant
                   ` (6 more replies)
  0 siblings, 7 replies; 19+ messages in thread
From: Paul Durrant @ 2011-11-29 10:53 UTC (permalink / raw)
  To: xen-devel; +Cc: paul.durrant

The following is a revised patch series to add support for a
VM generation ID virtual device for HVM guests.
The basic requirements of this device are as follows:

- It must be exposed somewhere in ACPI namespace with a _CID of
  "VM_Gen_Counter".
- It must also include a _DDN of "VM_Gen_Counter".
- It must contain a _HID object but no particular value is
  required.
- It must expose a package called ADDR which evaluates to two
  integers; the first being the low order 32-bits of a guest
  physical address (GPA), the second by the high order 32-bits of
  the GPA. This GPA is the address of an 8-byte aligned 8-byte
  buffer containing the VM generation ID.
  This buffer must not be in ranges supported as AddressRangeMemory
  or AddressRangeACPI and must not be mapped by any PTE with caching
  disabled.

The semantics of the VM generation ID itself are left up to the tools
but it must be possible to change it each time the VM is booted,
migrated, or restored from a saved image.

Patch 1 adds the device and an acpi_info field to allow population
of the ADDR package.
Patch 2 adds ctype infrastructure to hvloader in preparation for...
Patch 3 adds all the code to plumb the value of a new 'generation_id'
parameter in the VM config through to the VM generation id buffer at
VM boot time.
Patch 4 adds an implementation of sprintf() to hvmloader.
Patch 5 adds an implementation of xenstore-write to hvmloader.
Patch 6 adds support for tracking the address of the VM generation id
buffer (via xenstore) across save/restore or migrate and updating the
value of the buffer with the value from the VM config file.

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

end of thread, other threads:[~2011-11-30 16:59 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-29 10:53 [PATCH 0 of 6] Add support for a VM generation ID virtual device (v2) Paul Durrant
2011-11-29 10:53 ` [PATCH 1 of 6] Add an ACPI device exposing a package called ADDR, evaluating to two Paul Durrant
2011-11-29 15:14   ` Ross Philipson
2011-11-29 16:05     ` Paul Durrant
2011-11-29 16:29       ` Ross Philipson
2011-11-29  9:19         ` Keir Fraser
2011-11-29 17:25           ` Paul Durrant
2011-11-29 11:13             ` Keir Fraser
2011-11-29 20:53               ` Ross Philipson
2011-11-29 10:53 ` [PATCH 2 of 6] Add 'ctype' infrastructure to hvmloader Paul Durrant
2011-11-29 10:53 ` [PATCH 3 of 6] Allocate an 8 byte buffer to contain the VM generation id and populate it Paul Durrant
2011-11-29 10:53 ` [PATCH 4 of 6] Add sprintf() to hvmloader Paul Durrant
2011-11-29 11:01   ` Christoph Egger
2011-11-29 11:04     ` Paul Durrant
2011-11-29 11:11       ` Christoph Egger
2011-11-29 10:53 ` [PATCH 5 of 6] Add xenstore-write support " Paul Durrant
2011-11-29 10:53 ` [PATCH 6 of 6] Add code to track the address of the VM generation id buffer across a Paul Durrant
2011-11-30  7:19 ` [PATCH 0 of 6] Add support for a VM generation ID virtual device (v2) Keir Fraser
2011-11-30 16:59   ` Paul Durrant

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.