guest_to_host.py: add split_logic