search for: vmchannel

Displaying 20 results from an estimated 54 matches for "vmchannel".

2009 Sep 22
1
[PATCH] Rejig configure.ac tests for qemu vmchannel support.
The change to "null vmchannel" didn't get reflected in the configure script which still checks for vmchannel in qemu. This patch tidies up this part of the configure script so we don't fail, provided we have support for user mode networking (which is required for null vmchannel). This patch didn't make it int...
2009 Sep 21
2
[PATCH 00/10] Remove the need for vmchannel
This set of 10 patches removes the need for any vmchannel implementation, although we can still choose to use vmchannel if we want. In this so-called "null vmchannel" configuration, the appliance connects directly to a port on the library. The exact method is described in patch 9/10. This method still requires SLIRP (user mode networking) so...
2008 Dec 14
5
[PATCH] AF_VMCHANNEL address family for guest<->host communication.
...TCP/IP for this purpose since network connectivity may not exist between host and guest and if it exists the traffic can be not routable between host and guest for security reasons or TCP/IP traffic can be firewalled (by mistake) by unsuspecting VM user. This patch implement new address family AF_VMCHANNEL that is used for communication between guest and host. Channels are created at VM start time. Each channel has a name. Agent, that runs on a guest, can send/receive data to/from a channel by creating AF_VMCHANNEL socket and connecting to a channel using channels name as an address. Only stream soc...
2008 Dec 14
5
[PATCH] AF_VMCHANNEL address family for guest<->host communication.
...TCP/IP for this purpose since network connectivity may not exist between host and guest and if it exists the traffic can be not routable between host and guest for security reasons or TCP/IP traffic can be firewalled (by mistake) by unsuspecting VM user. This patch implement new address family AF_VMCHANNEL that is used for communication between guest and host. Channels are created at VM start time. Each channel has a name. Agent, that runs on a guest, can send/receive data to/from a channel by creating AF_VMCHANNEL socket and connecting to a channel using channels name as an address. Only stream soc...
2013 Jan 10
0
Unable to connect to vmchannel on host when the VM is started via libvirt
Hi experts, When I start a VM using "virsh create vm.xml", I'm not able to connect to the vmchannel from host. The process libvirtd is running as root (modified qemu.conf to set user/group to root) already. The connect just hangs there even after the guest VM is up and running. However, if I start the VM using kvm directly (with same arguments as libvirtd in `ps auxwww`), the connect to vmchannel...
2012 Jul 03
0
using vmchannel between 6.x host/guests
Hi all. Having trouble figuring out the magic to set up VMChannel comms between EL6.x host/guests. My end goal is to enable fence_virt in the guest to talk to fence_virtd on the host via VMChannel. I'd prefer to use that instead of multicast because it is supposed to work even if networking in the guest is down/borked. My analysis is that there is a mismat...
2009 Sep 17
1
[PATCH] Remove explicit guestfs=10.0.2.4:6666 kernel command line parameter.
This patch is in preparation for allowing libguestfs to use alternate "vmchannel" implementations. Although it's not a functional change, I think it is worthwhile on its own because use of the term "vmchannel" in the names of constants is inappropriate since (a) the "-net channel" option is now properly known upstream as "guestfwd", and (...
2011 Nov 29
0
permission denied when setting up VMchannel with libvirt
Hi, I am trying to set up vmchannel between the host and guest os. However, "sudo virsh start vm1" always gave me this error: ************************************************************* error: Failed to start domain vm1 error: internal error Process exited while reading console log output: char device redirected to...
2009 Sep 17
0
[PATCH DISCUSSION ONLY] Enable alternate vmchannel method (non-upstream virtio-console).
...n guests. http://et.redhat.com/~rjones/virt-p2v -------------- next part -------------- >From e80f093e91e6769da072fe74a94e71719ce47931 Mon Sep 17 00:00:00 2001 From: Richard Jones <rjones at trick.home.annexia.org> Date: Thu, 17 Sep 2009 14:55:50 +0100 Subject: [PATCH 3/3] Enable alternate vmchannel method (non-upstream virtio-console). This patch enables an alternate vmchannel method, Amit Shah's non-upstream multiport virtio-console: http://git.kernel.org/?p=linux/kernel/git/amit/vs-kernel.git;a=summary http://git.kernel.org/?p=linux/kernel/git/amit/vs-qemu-kvm.git;a=summary On the li...
2009 Sep 18
1
[PATCH] Enable new-style -chardev ... guestfwd command line
This also changes the name of the "vmchannel" buffer to just "buf", reflecting the fact that it's just used as a temporary buffer, and that the word vmchannel is overloaded. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scri...
2010 Mar 21
0
[PATCH] Mac OS X: Disable null vmchannel implementation.
...wiki/MinGW http://www.annexia.org/fedora_mingw -------------- next part -------------- >From 8319423df74eb82d4ec3cc2a7e5edbc9ffe7e523 Mon Sep 17 00:00:00 2001 From: Richard Jones <rich at koneko.home.annexia.org> Date: Sun, 21 Mar 2010 21:47:39 +0000 Subject: [PATCH] Mac OS X: Disable null vmchannel implementation. As far as I can tell, Darwin has no way to check the peer euid of a _loopback_ TCP socket. This is required for the "null vmchannel" implementation to work securely. Therefore disable this - Darwin will use one of the other supported vmchannel implementations instead. -...
2010 Aug 23
2
[PATCH] Use virtio-serial, remove other vmchannel methods.
...ging, etc. http://et.redhat.com/~rjones/virt-top -------------- next part -------------- >From c20f8187ac05d334e13064de805b94dd769000ce Mon Sep 17 00:00:00 2001 From: Richard Jones <rjones at redhat.com> Date: Mon, 23 Aug 2010 21:53:32 +0100 Subject: [PATCH] Use virtio-serial, remove other vmchannel methods. This adds support for virtio-serial, and removes all other vmchannel methods. Virtio-serial is faster than other methods, and is now widely available. I tested this by using the guestfs_upload API on an 83 MB file: before: 6.12 seconds (14.1 MB/sec) after: 4.20 seconds (20.6 MB/sec...
2010 Jul 05
5
[PATCH 0/3] RFC: Allow use of external QEMU process with libguestfs
...uestfsvmc,path=/tmp/guest/sock,server,nowait -net user,vlan=0,net=169.254.0.0/16,guestfwd=tcp:169.254.2.4:6666-chardev:guestfsvmc -net nic,model=virtio,vlan=0 -append 'panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_vmchannel=tcp:169.254.2.4:6666 TERM=xterm' -kernel /tmp/libguestfsqJB1iN/kernel -initrd /tmp/libguestfsqJB1iN/initrd 3. Tell guestfish to connect to this instance ><fs> launch-method attach ><fs> sockpath /tmp/guest/sock ><fs> launch The temporary ker...
2008 Oct 14
4
[PATCH][RFC] vmchannel a data channel between host and guest.
...t;>> This can be easily extended. >>> >>> >> There shouldn't be an inherent limit in the userspace interface. >> >> > Well, qemu has those limits for all other interfaces (like number of > nics, serial ports, parallel ports), but if vmchannels are somehow > different in this regards there is no problem to dynamically grow their > number. > Having a limit in QEMU is fine, we just don't want the limit to be in the guest driver. It's relatively easy to increase the limit or make it dynamic in QEMU but if it requires...
2008 Oct 14
4
[PATCH][RFC] vmchannel a data channel between host and guest.
...t;>> This can be easily extended. >>> >>> >> There shouldn't be an inherent limit in the userspace interface. >> >> > Well, qemu has those limits for all other interfaces (like number of > nics, serial ports, parallel ports), but if vmchannels are somehow > different in this regards there is no problem to dynamically grow their > number. > Having a limit in QEMU is fine, we just don't want the limit to be in the guest driver. It's relatively easy to increase the limit or make it dynamic in QEMU but if it requires...
2009 Sep 22
1
[PATCH] Change handling of spaces on Linux kernel command line
...) diff --git a/src/guestfs.c b/src/guestfs.c index 60be453..ee867f5 100644 --- a/src/guestfs.c +++ b/src/guestfs.c @@ -1072,7 +1072,7 @@ guestfs__launch (guestfs_h *g) add_cmdline (g, "user,vlan=0,net=10.0.2.0/8"); snprintf (buf, sizeof buf, - "guestfs_vmchannel=tcp:10.0.2.2:%d ", null_vmchannel_sock); + "guestfs_vmchannel=tcp:10.0.2.2:%d", null_vmchannel_sock); vmchannel = strdup (buf); } @@ -1102,7 +1102,7 @@ guestfs__launch (guestfs_h *g) add_cmdline (g, "-net"); add_cmdline (g, buf);...
2009 Nov 20
1
fix new failures from latest-from-gnulib syntax-check
..."guestfsd: unexpected command line option 0x%x\n", c); - exit (1); + exit (EXIT_FAILURE); } } if (optind < argc) { usage (); - exit (1); + exit (EXIT_FAILURE); } cmdline = read_cmdline (); @@ -190,7 +190,7 @@ main (int argc, char *argv[]) vmchannel = strndup (p + 18, len); if (!vmchannel) { perror ("strndup"); - exit (1); + exit (EXIT_FAILURE); } } @@ -204,7 +204,7 @@ main (int argc, char *argv[]) vmchannel = strndup (p + 4, len); if (!vmchannel) { perror (&quot...
2009 Jun 23
4
virtio-serial: A guest <-> host interface for simple communication
Hello, Here are two patches. One implements a virtio-serial device in qemu and the other is the driver for a guest kernel. While working on a vmchannel interface that is needed for communication between guest userspace and host userspace, I saw that most of the interface can be abstracted out as a "serial" device with "ports". Some requirements for a vmchannel are listed at this page: http://kvm.et.redhat.com/page/VMchannel_Re...
2009 Jun 23
4
virtio-serial: A guest <-> host interface for simple communication
Hello, Here are two patches. One implements a virtio-serial device in qemu and the other is the driver for a guest kernel. While working on a vmchannel interface that is needed for communication between guest userspace and host userspace, I saw that most of the interface can be abstracted out as a "serial" device with "ports". Some requirements for a vmchannel are listed at this page: http://kvm.et.redhat.com/page/VMchannel_Re...
2014 Sep 23
0
[PATCH 11/13] syntax-check: fix prohibit_undesirable_word_seq check
...579664 guestfish doesn't report error when there is not enough space for image allocation - - 579608 multiple commands in guestfish can not work for symbol links + - 579608 multiple commands in guestfish cannot work for symbol links - 579155 libguestfs hangs if qemu doesn't start (in null vmchannel mode) - 578407 the prefix '-' in sub-command isn't handled by guestfish in remote control mode - 576879 libguestfs protocol loses synchronization if you 'upload' before mounting disks diff --git a/guestfs-release-notes.txt b/guestfs-release-notes.txt index 3eada81..60c6f14 1...