Skip to content

Commit

Permalink
Merge pull request #5160 from edwintorok/private/edvint/install-suspe…
Browse files Browse the repository at this point in the history
…nd-image

Install suspend_image_viewer
  • Loading branch information
robhoes authored Sep 14, 2023
2 parents 50bb870 + 225bbeb commit 2f66eb9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ install: build doc sdk doc-json
scripts/install.sh 755 _build/install/default/bin/vncproxy $(DESTDIR)$(OPTDIR)/debug/vncproxy
# ocaml/perftest
scripts/install.sh 755 _build/install/default/bin/perftest $(DESTDIR)$(OPTDIR)/debug/perftest
# ocaml/suspend-image-viewer
scripts/install.sh 755 _build/install/default/bin/perftest $(DESTDIR)$(OPTDIR)/debug/suspend-image-viewer
# ocaml/mpathalert
scripts/install.sh 755 _build/install/default/bin/mpathalert $(DESTDIR)$(OPTDIR)/bin/mpathalert
# ocaml/license
Expand Down
2 changes: 2 additions & 0 deletions ocaml/xenopsd/suspend_image_viewer/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
(executable
(public_name suspend-image-viewer)
(name suspend_image_viewer)
(package xapi-xenopsd-xc)
(libraries
cmdliner
forkexec
Expand Down
4 changes: 2 additions & 2 deletions ocaml/xenopsd/suspend_image_viewer/view.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# Usage: copy this script and suspend_image_viewer executable to a box
# Usage: copy this script and suspend-image-viewer executable to a box
# Given a snapshot called `snap-mem` view its suspend image VDI:
# /opt/xensource/debug/with-vdi $(xe snapshot-list name-label=uefi-mem params=suspend-VDI-uuid --minimal) ./view.sh
./suspend_image_viewer --config /etc/xenopsd.conf --path /dev/$DEVICE
./suspend-image-viewer --config /etc/xenopsd.conf --path /dev/$DEVICE

0 comments on commit 2f66eb9

Please sign in to comment.