* I/O redirection Guest VM
@ 2014-03-14 4:46 Shiva
2014-03-14 5:25 ` Fam Zheng
0 siblings, 1 reply; 5+ messages in thread
From: Shiva @ 2014-03-14 4:46 UTC (permalink / raw)
To: kvm
Hello,
I am working on building an Storage Intrusion Detection System(SIDS) App
inside a VM on KVM hypervisor.
I wanted I/O's from other vm's to first contact this App VM and
then finally write to the disk.I went with the network storage as
an option to achieve this objective. But wanted to know what about
I/O's that are not a shared on NFS-share for example? How can
I intercept these I/O/'s ? As the guest VM will be having its own virtual disk
and can write to its own partitions that are not part of NFS share.
I know modifying Qemu could be other options here.(Like developing a
driver or adding redirection of I/O). But I have a time constraint here and
unlikely to achieve it by this way.
Looking forward to your help/comments.Thanks
--
Shiva
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: I/O redirection Guest VM
2014-03-14 4:46 I/O redirection Guest VM Shiva
@ 2014-03-14 5:25 ` Fam Zheng
2014-03-14 6:32 ` Shiva
[not found] ` <CAAQucXZcbca9MCykjKn1C43GqVh2x0R8dceWkPz7LGkFHnEoJQ@mail.gmail.com>
0 siblings, 2 replies; 5+ messages in thread
From: Fam Zheng @ 2014-03-14 5:25 UTC (permalink / raw)
To: Shiva; +Cc: kvm
On Fri, 03/14 04:46, Shiva wrote:
> Hello,
> I am working on building an Storage Intrusion Detection System(SIDS) App
>
> inside a VM on KVM hypervisor.
>
> I wanted I/O's from other vm's to first contact this App VM and
>
> then finally write to the disk.I went with the network storage as
>
> an option to achieve this objective. But wanted to know what about
>
> I/O's that are not a shared on NFS-share for example? How can
>
> I intercept these I/O/'s ? As the guest VM will be having its own virtual disk
>
> and can write to its own partitions that are not part of NFS share.
>
> I know modifying Qemu could be other options here.(Like developing a
>
> driver or adding redirection of I/O). But I have a time constraint here and
>
> unlikely to achieve it by this way.
>
> Looking forward to your help/comments.Thanks
>
Not sure I understand it correctly, but this sounds doable to backend.
If you want to intercept the IO's from other VM, can you move the location of
its virtual disk and let them access throught your NFS you App VM can control?
If you only want to observe the IO, you can mirror the writes to a target on
the NFS.
Thanks,
Fam
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: I/O redirection Guest VM
2014-03-14 5:25 ` Fam Zheng
@ 2014-03-14 6:32 ` Shiva
[not found] ` <CAAQucXZcbca9MCykjKn1C43GqVh2x0R8dceWkPz7LGkFHnEoJQ@mail.gmail.com>
1 sibling, 0 replies; 5+ messages in thread
From: Shiva @ 2014-03-14 6:32 UTC (permalink / raw)
To: kvm
Hello Fam,
Thanks a lot to your reply.
I think I needed to bit more clear in my explanation.
Here is my requirement:
At first,I have a guest vm with its virtual disk performing no storage
intrusion detection running on top of kvm hypervisor.
Then later I create this new VM app that performs the storage
intrusion detection functionality again running on top of kvm hypervisor.
I run nfs share inside this vm. Once I do this,I need the I/O's that is
happening on guest vm to undergo the intrusion detection functionality
before writes are performed on the disks. How could I point the image to the
NFS share if the guest vm prior didn't had this functionality?
And If I do the functionality now,Only NFS-shared partitions could be
intercepted.What about the other partition writes occurring at the
guest vm?
Looking forward to your reply.
--
Shiva
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <CAAQucXZcbca9MCykjKn1C43GqVh2x0R8dceWkPz7LGkFHnEoJQ@mail.gmail.com>]
* Re: I/O redirection Guest VM
[not found] ` <CAAQucXZcbca9MCykjKn1C43GqVh2x0R8dceWkPz7LGkFHnEoJQ@mail.gmail.com>
@ 2014-03-14 6:32 ` Fam Zheng
2014-03-14 6:39 ` Shiva
0 siblings, 1 reply; 5+ messages in thread
From: Fam Zheng @ 2014-03-14 6:32 UTC (permalink / raw)
To: Shivaramakrishnan Vaidyanathan; +Cc: kvm
On Fri, 03/14 02:00, Shivaramakrishnan Vaidyanathan wrote:
> Hello Fam,
> Thanks a lot to your reply.
> I think I needed to bit more clear in my explanation.
> Here is my requirement:
> At first,I have a guest vm with its virtual disk performing no storage
> intrusion detection running on top of kvm hypervisor. Then later I create
> this new VM app that performs the storage intrusion detection functionality
> again running on top of kvm hypervisor.I run nfs share inside this vm. Once
> I do this,I need the I/O's that is happening on guest vm to undergo the
> intrusion detection functionality before writes are performed on the disks.
>
>
> How could I point the image to the NFS share if the guest vm prior didn't
> had this functionality?
> And If I do the functionality now,Only NFS-shared partitions could be
> intercepted.What about the other partition writes occurring at the guest vm?
>
Sounds like you need to change the backend of VM on flight to you NFS share.
But I don't think it's supported for now. (Assuming you use QEMU as device
virtualizer).
Fam
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-03-14 6:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-14 4:46 I/O redirection Guest VM Shiva
2014-03-14 5:25 ` Fam Zheng
2014-03-14 6:32 ` Shiva
[not found] ` <CAAQucXZcbca9MCykjKn1C43GqVh2x0R8dceWkPz7LGkFHnEoJQ@mail.gmail.com>
2014-03-14 6:32 ` Fam Zheng
2014-03-14 6:39 ` Shiva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox