From: zhangzhi <zhangzhi2022@hotmail.com>
To: kvm@vger.kernel.org
Subject: kvm running on core1 wants guest os on core2 to execute a pre-defined program
Date: Sun, 17 Feb 2013 02:46:28 +0000 (UTC) [thread overview]
Message-ID: <loom.20130217T034555-916@post.gmane.org> (raw)
I have been studying some stuff about KVM and sincerely hope that someone is
willing to reply to this mail.
As we know, If physical NIC interrupt is received on physical CPU 0 which is in
root mode and the hypervisor determines that this is a network packet targeted
to the emulated NIC for a VM at the same time this VM is running a user program
in guest mode on physical CPU 1.
My question is:
At this time can hypervisor running on CPU 0 *actively* interrupt VM and make it
run the corresponding interrupt handler to handle the incoming network data
packet? CPU 1 which is running a user program is not supposed to vm-exit
considering the performance effect, so I can not use the inter-processor
interrupt(IPI) to cause the CPU1 to leave guest mode and exit to the hypervisor.
If anyone knows, please tell me.
Thanks a lot !
Best regards,
henry
next reply other threads:[~2013-02-17 3:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-17 2:46 zhangzhi [this message]
2013-02-17 12:06 ` kvm running on core1 wants guest os on core2 to execute a pre-defined program Gleb Natapov
-- strict thread matches above, loose matches on Subject: below --
2013-02-17 15:08 zhang zhi
2013-02-17 15:25 ` Gleb Natapov
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=loom.20130217T034555-916@post.gmane.org \
--to=zhangzhi2022@hotmail.com \
--cc=kvm@vger.kernel.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