[PATCH 03/12] kvm-ipc: use proper type for file descriptor

2015-07-17 Thread Andre Przywara
A socket (as any other file descriptor) is of type int to catch the negative error cases. Fix the declaration to allow errors to be detected. Found and needed by clang. Signed-off-by: Andre Przywara andre.przyw...@arm.com --- kvm-ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 22/33] kvm tools: kvm-ipc cleanup

2012-09-05 Thread Sasha Levin
Move all the kvm-ipc specific code into the relevant file, and modify the ipc callback to pass a ptr to struct kvm as well. Signed-off-by: Sasha Levin levinsasha...@gmail.com --- tools/kvm/builtin-run.c | 122 tools/kvm/include/kvm/kvm-ipc.h | 8 +- tools/kvm/kvm-ipc.c

[PATCH 2/4] kvm tools: use bitwise 'and' in kvm-ipc

2012-05-09 Thread Sasha Levin
From: Sasha Levin levinsasha...@gmail.com Signed-off-by: Sasha Levin levinsasha...@gmail.com --- tools/kvm/kvm-ipc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/kvm/kvm-ipc.c b/tools/kvm/kvm-ipc.c index 257c806c..70831b8 100644 --- a/tools/kvm/kvm-ipc.c +++

Re: kvm IPC

2010-08-04 Thread Amit Shah
On (Tue) Aug 03 2010 [11:37:38], Nirmal Guhan wrote: Thanks. Will this work if the guest or host are different combo Yes, it would. Amit -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: kvm IPC

2010-08-03 Thread Amit Shah
On (Thu) Jul 29 2010 [16:17:48], Nirmal Guhan wrote: Hi, I run Fedora 12 and guest is also Fedora 12. I use br0/tap0 for networking and communicate between host-guest using socket. I do see some references to virtio, pci based ipc and inter-vm shared memory but they are not current. My

Re: kvm IPC

2010-08-03 Thread Nirmal Guhan
Thanks. Will this work if the guest or host are different combo - for instance ubuntu/debian or fedora/ubuntu? In other words, is there anything generic other than using the sockets ? Am ok to use PCI to communicate too if that can improve performance. Any pointers would be helpful. --Nirmal On

Re: kvm IPC

2010-08-02 Thread Nirmal Guhan
Hi. Could anyone help me on this? Thanks, Nirmal On Thu, Jul 29, 2010 at 4:17 PM, Nirmal Guhan vavat...@gmail.com wrote: Hi, I run Fedora 12 and guest is also Fedora 12. I use br0/tap0 for networking and communicate between host-guest using socket.  I do see some references to virtio, pci

kvm IPC

2010-07-29 Thread Nirmal Guhan
Hi, I run Fedora 12 and guest is also Fedora 12. I use br0/tap0 for networking and communicate between host-guest using socket. I do see some references to virtio, pci based ipc and inter-vm shared memory but they are not current. My question is : Is there a better IPC mechanism for host-guest