Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
clh: use http client
Browse files Browse the repository at this point in the history
Instead of build a command, use Cloud Hypervisor http API.

Fixes: #2165

Signed-off-by: Bo Chen <[email protected]>
Signed-off-by: Jose Carlos Venegas Munoz <[email protected]>
  • Loading branch information
jcvenegas committed Dec 6, 2019
1 parent 6010218 commit f73723a
Show file tree
Hide file tree
Showing 2 changed files with 282 additions and 252 deletions.
7 changes: 5 additions & 2 deletions cli/config/configuration-clh.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,18 @@ default_memory = @DEFMEMSZ@
# Path to vhost-user-fs daemon.
virtio_fs_daemon = "@DEFVIRTIOFSDAEMON@"

# Default size of DAX cache in MiB
virtio_fs_cache_size = @DEFVIRTIOFSCACHESIZE@

# cloud-hypervisor prefers virtiofs caching (dax) for performance reasons
virtio_fs_cache = "always"

# This option changes the default hypervisor and kernel parameters
# to enable debug output where available. This extra output is added
# to the proxy logs, but only when proxy debug is also enabled.
#
#
# Default false
# enable_debug = true
#enable_debug = true

[proxy.@PROJECT_TYPE@]
path = "@PROXYPATH@"
Expand Down
Loading

0 comments on commit f73723a

Please sign in to comment.