Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions xc/device.ml
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,13 @@ module Vif = struct
else
[]
in
let front_mtu =
match mtu with
| Some mtu when mtu > 0 ->
[("mtu", string_of_int mtu)]
| _ ->
[]
in
let front =
[
("backend-id", string_of_int backend_domid)
Expand All @@ -869,6 +876,7 @@ module Vif = struct
; ("disconnect", if carrier then "0" else "1")
]
@ front_options
@ front_mtu
in
let extra_private_keys =
List.map (fun (k, v) -> ("other-config/" ^ k, v)) other_config
Expand Down