[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] libxl: User defined max_maptrack_frames in a stub domain



commit 80714e55042b2242cd82eccfb7405d671ecbebda
Author:     Dmitry Fedorov <d.fedorov@xxxxxxxxx>
AuthorDate: Tue Apr 13 15:17:29 2021 +0100
Commit:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Tue Apr 13 15:17:29 2021 +0100

    libxl: User defined max_maptrack_frames in a stub domain
    
    Implementing qrexec+usbip+qemu in Linux-based stub domain leads me to
    an issue where a device model stub domain doesn't have maptrack entries.
    
    Signed-off-by: Dmitry Fedorov <d.fedorov@xxxxxxxxx>
    Acked-by: Wei Liu <wl@xxxxxxx>
---
 tools/libs/light/libxl_dm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/libs/light/libxl_dm.c b/tools/libs/light/libxl_dm.c
index 5309496c58..3599a82ef0 100644
--- a/tools/libs/light/libxl_dm.c
+++ b/tools/libs/light/libxl_dm.c
@@ -2311,7 +2311,7 @@ void libxl__spawn_stub_dm(libxl__egc *egc, 
libxl__stub_dm_spawn_state *sdss)
     dm_config->b_info.target_memkb = dm_config->b_info.max_memkb;
 
     dm_config->b_info.max_grant_frames = guest_config->b_info.max_grant_frames;
-    dm_config->b_info.max_maptrack_frames = 0;
+    dm_config->b_info.max_maptrack_frames = 
guest_config->b_info.max_maptrack_frames;
 
     dm_config->b_info.u.pv.features = "";
 
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.