Skip to content

Conversation

@jonathanknowles
Copy link
Contributor

Note:

This pull request depends on the following pull request in xen-api-libs:
xapi-project/xen-api-libs#10

Description:

On VM start, if the VM has access to exactly one VDI that (a.) has a time offset and (b.) is configured to reset on boot, then use that time offset instead of the one configured in VM.platform:timeoffset.

Also:

  • If more than one such VDI is found, produce an error that causes the VM start to fail.
  • If no such VDI is found, then fall back to the timeoffset configured in VM.platform:timeoffset.

This patch introduces no semantic change:

$ git checkout 8b84f45
  HEAD is now at 8b84f45... Merge branch 'master' of https://github.com/jjd27/xen-api into jjd-ca-52129
$ camlp4 -parser o -printer o -no_comments ocaml/xapi/vmops.ml | md5sum
  097ea71886bc97504736c74b276ea62e  -

$ git checkout 56765489f645c2eefcb5c4e149db564896475208 # Child
  HEAD is now at 5676548... [NON-SEMANTIC-CHANGE] Reformatting to meet coding standard.
$ camlp4 -parser o -printer o -no_comments ocaml/xapi/vmops.ml | md5sum
  097ea71886bc97504736c74b276ea62e  -

Signed-off-by: Xen Git User <xen-git@citrix.com>
…a.) has a timeoffset and (b.) is configured to reset on boot, then use that timeoffset instead of the one configured in VM.platform:timeoffset.

Also:
* If more than one such VDI is found, produce an error that causes the VM start to fail.
* If no such VDI is found, then fall back to the timeoffset configured in VM.platform:timeoffset.

Signed-off-by: Jonathan Knowles <jonathan.knowles@eu.citrix.com>
@xen-git
Copy link
Contributor

xen-git commented Mar 8, 2011

Build succeeded. Can merge jonathanknowles/xen-api@6ded86e with 3c8d093.

koushikcgit pushed a commit to koushikcgit/xen-api that referenced this pull request Aug 7, 2015
Fix name of server following commit 60e718b in xcp-idl
koushikcgit pushed a commit to koushikcgit/xen-api that referenced this pull request Aug 7, 2015
kc284 pushed a commit to kc284/xen-api that referenced this pull request Mar 11, 2021
CP-11136: Handle Set(Int) in "exposed_type" functions.
robhoes pushed a commit to robhoes/xen-api that referenced this pull request Jul 6, 2021
Revert "Update to latest API from xen-api.git#8f47a36"
robhoes pushed a commit that referenced this pull request Sep 14, 2021
CA-173358: Remove VBD related data sources from xcp-rrdd
robhoes pushed a commit that referenced this pull request Sep 14, 2021
CP-15132: Move init script so it can be wrapped by systemd
robhoes pushed a commit that referenced this pull request Sep 14, 2021
Let's write the actual name of the value to the shared memory area
psafont pushed a commit to psafont/xen-api that referenced this pull request Sep 20, 2021
xapi-libs-transitional: run all tests when testing in Travis
robhoes pushed a commit to robhoes/xen-api that referenced this pull request Sep 21, 2021
CA-229038: Allow upload of data that is not an integer number of sectors
robhoes pushed a commit to robhoes/xen-api that referenced this pull request Nov 23, 2021
[opam/next] Update for opam/next
robhoes pushed a commit to robhoes/xen-api that referenced this pull request Nov 23, 2021
…sses (xapi-project#38)

* CP-30037: add helpers for creating and launching transient systemd units

Systemd will take care of logging the output to syslog and remembering
process exit status.
This can avoid an additional forkexecd child, or additional logger process
for long-running per-VM daemons.

Fail if we try to start a service twice.

fe_argv: fix build warning: (>>=) was not used

Signed-off-by: Edwin Török <edvin.torok@citrix.com>
psafont pushed a commit to psafont/xen-api that referenced this pull request Jan 10, 2022
Reference xapi-inventory as xcp-invenotry is being deprecated.
edwintorok added a commit to edwintorok/xen-api that referenced this pull request Jan 22, 2024
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants