From: Paul Durrant <paul.durrant@citrix.com>
To: xen-devel@lists.xensource.com
Cc: paul.durrant@citrix.com
Subject: [PATCH 0 of 6] Add support for a VM generation ID virtual device (v2)
Date: Tue, 29 Nov 2011 10:53:18 +0000 [thread overview]
Message-ID: <patchbomb.1322563998@cosworth.uk.xensource.com> (raw)
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.
next reply other threads:[~2011-11-29 10:53 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-29 10:53 Paul Durrant [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=patchbomb.1322563998@cosworth.uk.xensource.com \
--to=paul.durrant@citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.