Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

PR-1223 main merge #60

Merged
merged 104 commits into from
Mar 24, 2011
Merged

PR-1223 main merge #60

merged 104 commits into from
Mar 24, 2011

Conversation

johnelse
Copy link
Contributor

Checking that the gitbot is still happy.

johnelse added 30 commits March 23, 2011 11:22
Signed-off-by: John Else <john.else@citrix.com>
…o SM

Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
VDIs with type "metadata" will change to have type "redo_log" on upgrade.

Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
All functions which depend on the state of the redo_log now take a
redo_log instance instead of operating on the global state.

Signed-off-by: John Else <john.else@citrix.com>
All redo_logs are added to a set when created or destroyed. This makes
it easy to carry out operations that involve all active redo_logs, e.g.
flush_db_to_redo_log.

Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Redo_log_alert.loop now takes an instance of redo_log to monitor.

Signed-off-by: John Else <john.else@citrix.com>
The high level functions for redo log usage now act on an instance of
redo_log rather than on the global state.

Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Add the VDI.open_database API call, as well as the infrastructure to
create a readonly session and associate it with the opened database.

Signed-off-by: John Else <john.else@citrix.com>
As an alternative to being given a Static_vdis_list.vdi object to use as
a block device, redo_log can be given just a path to a block device.

Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Redo_log_usage.read_from_redo_log now takes an argument of type Db_ref.t
to populate, rather than always populating the master database.

Signed-off-by: John Else <john.else@citrix.com>
Db_cache.apply_delta_to_cache now takes a db reference as an argument,
instead of operating on the master db.

Signed-off-by: John Else <john.else@citrix.com>
Context.switch_database takes a Context.t and a Db_ref.t, and returns a
Context.t which contains the new Db_ref.t as a field.

Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Xapi_session.create_read_only_session creates a local superuser session
for now, so is currently the opposite of readonly.

Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
A user should not be allowed to call VM.recover if the VM is part of an
appliance. This is checked in message_forwarding.ml, so this check in
xapi_vm.ml is redundant and can be removed.

Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
@xen-git
Copy link
Contributor

xen-git commented Mar 23, 2011

Build succeeded. Can merge johnelse/xen-api@a821844 with 540554f.

Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
When running VM_appliance.recover, if templates are recovered then they
shouldn't be added to the resulting appliance.

Signed-off-by: John Else <john.else@citrix.com>
Implement CLI commands for:
  - VM.recover
  - VM.assert_can_be_recovered
  - VM_appliance.recover
  - VM_appliance.assert_can_be_recovered

Signed-off-by: John Else <john.else@citrix.com>
If an SR introduced by a DR task turns out to be needed for VMs which
are being recovered, it should have its introduced_by field set to
Ref.null so that it is not forgotten when the DR task is destroyed.

Signed-off-by: John Else <john.else@citrix.com>
@xen-git
Copy link
Contributor

xen-git commented Mar 24, 2011

Build succeeded. Can merge johnelse/xen-api@0d7513b with 540554f.

Signed-off-by: John Else <john.else@citrix.com>
Signed-off-by: John Else <john.else@citrix.com>
@xen-git
Copy link
Contributor

xen-git commented Mar 24, 2011

Build succeeded. Can merge johnelse/xen-api@52dd900 with 540554f.

@johnelse
Copy link
Contributor Author

Approved.

@xen-git
Copy link
Contributor

xen-git commented Mar 24, 2011

Build succeeded. Merged johnelse/xen-api@52dd900 with 540554f.

@xen-git xen-git merged commit 52dd900 into master Mar 24, 2011
sharady pushed a commit to sharady/xen-api that referenced this pull request May 20, 2015
koushikcgit pushed a commit to koushikcgit/xen-api that referenced this pull request Aug 7, 2015
robhoes pushed a commit to robhoes/xen-api that referenced this pull request Mar 4, 2016
…1-backport

Backport: CA-176934: Fix race in DP.destroy
kc284 pushed a commit to kc284/xen-api that referenced this pull request Mar 11, 2021
CP-13394: Build DotNetPackages & C# SDK with .NET 4.5
robhoes pushed a commit to robhoes/xen-api that referenced this pull request Jul 6, 2021
robhoes pushed a commit that referenced this pull request Sep 14, 2021
Remove duplicate definition of uuid_of_domain
robhoes pushed a commit to robhoes/xen-api that referenced this pull request Sep 21, 2021
CA-289145: close socket if error occurs when using lwt connect
lindig pushed a commit to lindig/xen-api that referenced this pull request Nov 9, 2021
lindig pushed a commit to lindig/xen-api that referenced this pull request Dec 17, 2021
edwintorok pushed a commit to edwintorok/xen-api that referenced this pull request Jan 22, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants