[Qemu-devel] reset VM programmatically

2014-07-30 Thread Alexander Binun
Hello Friends, Would you please tell me how to reset a VCPU programmatically ? That is , force it reload like during cold reboot. Thanks, Alex Binun

[Qemu-devel] sniffing traffic between virtual machines

2013-12-18 Thread Alexander Binun
Mon 14 Oct 11:12 2013 Stefan Hajnoczi wrote: > On Sat, Oct 12, 2013 at 05:45:52PM +0300, Alexander Binun wrote: > >The qemu used by me is the one installed using apt-get install qemu. The > > executable is in /usr/bin. The KVM driver is the one supplied with Ubuntu > >

[Qemu-devel] sniffing traffic between VMs

2013-10-07 Thread Alexander Binun
Hello Friends, My name is Alex Binun and I am a researcher in the group of Prof. Shlomi Dolev, Ben-Gurion University of the Negev, Israel, http://www.cs.bgu.ac.il/~dolev/. The group investigates security in virtualization environments and implements a prototype on the top of KVM. Searching f

[Qemu-devel] kvm binary is deprecated

2013-10-10 Thread Alexander Binun
On Mon, Oct 07, 2013 at 05:47:46PM +0300, Alexander Binun wrote: > > Our first task is to trace the traffic between individual VMs and between > > VMs and the VMM (the KVM driver). So we are searching for proper places to > > insert "sniffer code". We suspect that s

Re: [Qemu-devel] kvm binary is deprecated

2013-10-12 Thread Alexander Binun
Hello Stefan, The qemu used by me is the one installed using apt-get install qemu. The executable is in /usr/bin. The KVM driver is the one supplied with Ubuntu 13.04. The version of qemu is 1.4.0 (after running qemu --version I get the message --- QEMU emulator version 1.4.0 (Debian 1.4.0+

Re: [Qemu-devel] kvm binary is deprecated

2013-10-14 Thread Alexander Binun
ition file and create a VM manually (through virsh) --- use qemu & kvm compiled from the Git sources referred to by you. Your opinion ? Thanks in advance, Alex On Mon 14 Oct 11:12 2013 Stefan Hajnoczi wrote: > On Sat, Oct 12, 2013 at 05:45:52PM +0300, Alexander Binun wrote: >

[Qemu-devel] kvm binary is deprecated - solved!

2013-10-24 Thread Alexander Binun
14, 2013 at 12:36 PM, Alexander Binun wrote: > > The workaround offered in bug trackers is: "change the path associated with > > the emulation tag in the xml definition file. Change it to > > qemu-system-x86_64". > > > > Well, I am familiar with

[Qemu-devel] observing VM actions

2013-10-24 Thread Alexander Binun
I am trying to observe the memory/disk/network accesses done by a VM. The resulting log can be used to decide whether a VM initiates a malicious action (because , say, it runs a malicious software). On Thu 24 Oct 11:49 2013 Stefan Hajnoczi wrote: > On Thu, Oct 24, 2013 at 10:23 AM, Alexan

[Qemu-devel] kill /destroy a VM - help

2014-03-05 Thread Alexander Binun
ed, Dec 18, 2013 at 01:53:56PM +0200, Alexander Binun wrote: > > We are trying to monitor the traffic (network packets etc) between VMs in > > KVM. We succeeded to get the address of the system call table (see > > http://syprog.blogspot.co.il/2011/10/hijack-linux-system-calls-pa

Re: [Qemu-devel] kill /destroy a VM - help

2014-03-06 Thread Alexander Binun
Thanks for the rapid answer ! On Thu 06 Mar 12:22 2014 Stefan Hajnoczi wrote: > On Wed, Mar 05, 2014 at 06:35:18PM +0200, Alexander Binun wrote: > > Now we encountered yet one problem: Our security module (which is a LKM) > > performs security check and, when suspecting maliciou

Re: [Qemu-devel] kill /destroy a VM - still hangs!

2014-03-06 Thread Alexander Binun
03/2014 11:31, Alexander Binun ha scritto: > > Then - more questions : > >1. How can I access the Qemu process (relevant to a given VM) from > > within in the kernel context (being in a kernel module) ? > > The struct pid for the VCPU is in the "pid" field of stru

[Qemu-devel] trying to kill a VM

2014-03-09 Thread Alexander Binun
id.html) and send kill to this ID from the command line, the corresponding VM shuts off! Which magic does the manual method in order to succeed ? Thanks in advance, the Israeli team On Thu 06 Mar 13:28 2014 Paolo Bonzini wrote: > Il 06/03/2014 11:31, Alexander Binun ha scritto: >

[Qemu-devel] different IDTs of the same VCPU

2014-03-13 Thread Alexander Binun
Dear Friends, Thanks for your assistance! We would like to ask you a question about the KVM internals. Our module includes a timer which (once in every second) fetches the IDT value of every online VCPU in the system using the kvm_x86_ops->get_idt ; the code looks like: struct kvm_vc

Re: [Qemu-devel] different IDTs of the same VCPU

2014-03-17 Thread Alexander Binun
wrote: > Il 13/03/2014 13:59, Alexander Binun ha scritto: > > Dear Friends, > > > >Thanks for your assistance! > > > > We would like to ask you a question about the KVM internals. > > > > Our module includes a timer which (once in every second) fetch

[Qemu-devel] redirecting stdio from a VM guest

2014-05-28 Thread Alexander Binun
/2011/04/how-to-pass-qemu-command-line-options.html) that the options will look like: How should I map my preference -serial /dev/mydev into the XML ? Thanks , Alex Binun On Thu 13 Mar 15:01 2014 Alexander Binun wrote: > Dear Friends, > >Thanks

[Qemu-devel] excuse me for incorrect question...

2014-05-28 Thread Alexander Binun
2014 Eric Blake wrote: > > On 05/28/2014 06:51 AM, Alexander Binun wrote: > > Dear Friends, > >First of all, great thanks for your support! I would ask yet one > > question. > > > > I have a programs running on a VM guest. Its output is valuable (

Re: [Qemu-devel] redirecting stdio from a VM guest

2014-05-28 Thread Alexander Binun
Great thanks! What is the meaning of "log" ? Thanks, Alex Binun On Wed 28 May 16:14 2014 Eric Blake wrote: > > On 05/28/2014 06:51 AM, Alexander Binun wrote: > > Dear Friends, > >First of all, great thanks for your support! I would ask yet one > > qu

Re: [Qemu-devel] excuse me for incorrect question...

2014-05-28 Thread Alexander Binun
Eric, I aplogize for making your work complicated. Should I send questions to libvirt-us...@redhat.com instead ? I would ask more questions. Alex On Wed 28 May 17:35 2014 Eric Blake wrote: > > On 05/28/2014 08:28 AM, Alexander Binun wrote: > > In the previous question I asked &