Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disconnect or Shutdown issue ? #108

Open
palainp opened this issue Jul 14, 2023 · 0 comments
Open

Disconnect or Shutdown issue ? #108

palainp opened this issue Jul 14, 2023 · 0 comments

Comments

@palainp
Copy link
Member

palainp commented Jul 14, 2023

Dear developpers, I'm trying to be able to disconnect and reconnect uplink with Xen when I have an uplink change from the hypervisor. With #107 it works fine but I still observe: In the qubes-mirage-firewall context, with one AppVM client connected and an uplink connected, immediately after uplink disconnect/connect it raises some exceptions (Shared_page_pool.use after shutdown).
I'm currently trying to find what can use after the disconnect (possibly some, still unsent, packets but unsure at this time).

So I'm wondering if there isn't something to be done in/around/before/after:

  • disconnect (there is a comment telling so
    (* TODO: free pages still in [t.rx_map] *)
    I don't know if that is related and how can I free some pages if uplink hasn't already read it. Note: in my case uplink will never read it)
  • shutdown (there is a comment telling me to call shutdown again later ?
    (* Otherwise, shutdown gets called again when in_use becomes 0 *)
    ).

I welcome any advice :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant