vendor: update govmm package

To include support for qemu initrd config.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
This commit is contained in:
Peng Tao 2018-03-22 02:52:12 +00:00
parent 184662416d
commit 991fe81dff
3 changed files with 11 additions and 3 deletions

4
Gopkg.lock generated
View File

@ -86,7 +86,7 @@
[[projects]]
name = "github.com/intel/govmm"
packages = ["qemu"]
revision = "e87160f8ea39dfe558bf6761f74717d191d82493"
revision = "82c67ab9b21e8cd0042b6c2d3be2d3705a511603"
[[projects]]
name = "github.com/kata-containers/agent"
@ -250,6 +250,6 @@
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "a50c12d36c3881a8fdc1c46a9a2ef78edc27ae1a1ec0c448799f37c589209108"
inputs-digest = "bb2ac1696f8e90526e492a6d54362549094fa844c17fbd06c727198bff6667ef"
solver-name = "gps-cdcl"
solver-version = 1

View File

@ -56,7 +56,7 @@
[[constraint]]
name = "github.com/intel/govmm"
revision = "e87160f8ea39dfe558bf6761f74717d191d82493"
revision = "82c67ab9b21e8cd0042b6c2d3be2d3705a511603"
[[constraint]]
name = "github.com/kata-containers/agent"

View File

@ -1117,6 +1117,9 @@ type Kernel struct {
// Path is the guest kernel path on the host filesystem.
Path string
// InitrdPath is the guest initrd path on the host filesystem.
InitrdPath string
// Params is the kernel parameters string.
Params string
}
@ -1395,6 +1398,11 @@ func (config *Config) appendKernel() {
config.qemuParams = append(config.qemuParams, "-kernel")
config.qemuParams = append(config.qemuParams, config.Kernel.Path)
if config.Kernel.InitrdPath != "" {
config.qemuParams = append(config.qemuParams, "-initrd")
config.qemuParams = append(config.qemuParams, config.Kernel.InitrdPath)
}
if config.Kernel.Params != "" {
config.qemuParams = append(config.qemuParams, "-append")
config.qemuParams = append(config.qemuParams, config.Kernel.Params)