All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: 吴锐 <19890121wr@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Is that possible to virtualize a kernel module?
Date: Tue, 27 Dec 2011 12:02:39 +0200	[thread overview]
Message-ID: <4EF997BF.9030601@redhat.com> (raw)
In-Reply-To: <CAF2sySO0EjRdLMyK8FRZr_p9iuiwy-pjMv2MFdu9H_9SwrWeZw@mail.gmail.com>

On 12/27/2011 11:58 AM, 吴锐 wrote:
> Hi,
>
> I am currently do a project to detect malicious module. And I want to
> use KVM, namely, using virtualization to achieve this?
> Is that possible to virtualize a kernel module without a virtualized Linux?
> For example, if I only want to virtualize a network device, the
> network device still runs inside the kernel memory address space
> without changing anything else.
> The only difference is that the network device will run on VMX
> non-root mode, while the kernel still run on VMX root mode.
>

What would be the point?  the "virtualized" module can corrupt the
non-virtualized kernel's memory.

It may be technically possible (using vmx, but not kvm), but it's a lot
of work.


-- 
error compiling committee.c: too many arguments to function


  reply	other threads:[~2011-12-27 10:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-27  9:58 Is that possible to virtualize a kernel module? 吴锐
2011-12-27 10:02 ` Avi Kivity [this message]
2011-12-29  3:00   ` Zhen-Hua Li

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=4EF997BF.9030601@redhat.com \
    --to=avi@redhat.com \
    --cc=19890121wr@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.