From: "Chris Johnson" <cjohnson@signalogic.com>
To: QEMU Developers <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Virtio device "exit" function
Date: Wed, 23 Sep 2015 16:32:00 +0000 [thread overview]
Message-ID: <em765b1837-68dc-41e2-ab12-aafd89e91667@conrad> (raw)
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
Hello,
I am working on adding a virtio device to support a PCIe card (PCIe
pass-through wasn't an option). I need to do some cleanup when a VM that
is using this device is shutdown. It doesn't seem like the
device_unrealize function runs on shutdown unlike the device_realize
function that runs when the VM is started. I've been tracing through
other virtio device code to try and figure out what "exit" type
functions will run for other devices when a VM is shutdown but haven't
had any luck with that yet.
When does a virtio device's unrealize function run?
What function, if any, runs for a virtio device when a VM is shutdown?
Regards,
Chris
[-- Attachment #2: Type: text/html, Size: 1439 bytes --]
next reply other threads:[~2015-09-23 17:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-23 16:32 Chris Johnson [this message]
2015-10-16 12:18 ` [Qemu-devel] Virtio device "exit" function Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=em765b1837-68dc-41e2-ab12-aafd89e91667@conrad \
--to=cjohnson@signalogic.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).