mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-29 16:57:18 +00:00
vendor: update govmm
Shortlog:b3e7a9e
Merge pull request #91 from stefanha/virtio-fs-cache-size-mb058cda0
qemu: use MiB instead of Gib for virtio-fs cache size Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
2f020f5a52
commit
0217077a36
4
Gopkg.lock
generated
4
Gopkg.lock
generated
@ -378,11 +378,11 @@
|
||||
revision = "2f1d1f20f75d5404f53b9edf6b53ed5505508675"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:f49a8b8840fe74235515e5bdb18b641b9d1887f3af7a38bec8f6998994e5ffca"
|
||||
digest = "1:2690f7d938dd074d30aa60849f26bcb9f5dd3ad88220a1f24c895c0df63fd1ae"
|
||||
name = "github.com/intel/govmm"
|
||||
packages = ["qemu"]
|
||||
pruneopts = "NUT"
|
||||
revision = "35a8fd3ca9a36461b7dcf24e3b292f6e1ea4e71a"
|
||||
revision = "b3e7a9e78463a10f2a19e1a966c76a3afb215781"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:36dfd4701e98a9d8371dd3053e32d4f29e82b07bcc9e655db82138f9273bcb0f"
|
||||
|
@ -48,7 +48,7 @@
|
||||
|
||||
[[constraint]]
|
||||
name = "github.com/intel/govmm"
|
||||
revision = "35a8fd3ca9a36461b7dcf24e3b292f6e1ea4e71a"
|
||||
revision = "b3e7a9e78463a10f2a19e1a966c76a3afb215781"
|
||||
|
||||
[[constraint]]
|
||||
name = "github.com/kata-containers/agent"
|
||||
|
4
vendor/github.com/intel/govmm/qemu/qemu.go
generated
vendored
4
vendor/github.com/intel/govmm/qemu/qemu.go
generated
vendored
@ -748,7 +748,7 @@ type VhostUserDevice struct {
|
||||
TypeDevID string //variable QEMU parameter based on value of VhostUserType
|
||||
Address string //used for MAC address in net case
|
||||
Tag string //virtio-fs volume id for mounting inside guest
|
||||
CacheSize uint32 //virtio-fs DAX cache size in GiB
|
||||
CacheSize uint32 //virtio-fs DAX cache size in MiB
|
||||
SharedVersions bool //enable virtio-fs shared version metadata
|
||||
VhostUserType DeviceDriver
|
||||
|
||||
@ -824,7 +824,7 @@ func (vhostuserDev VhostUserDevice) QemuParams(config *Config) []string {
|
||||
devParams = append(devParams, string(driver))
|
||||
devParams = append(devParams, fmt.Sprintf("chardev=%s", vhostuserDev.CharDevID))
|
||||
devParams = append(devParams, fmt.Sprintf("tag=%s", vhostuserDev.Tag))
|
||||
devParams = append(devParams, fmt.Sprintf("cache-size=%dG", vhostuserDev.CacheSize))
|
||||
devParams = append(devParams, fmt.Sprintf("cache-size=%dM", vhostuserDev.CacheSize))
|
||||
if vhostuserDev.SharedVersions {
|
||||
devParams = append(devParams, "versiontable=/dev/shm/fuse_shared_versions")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user