[Qemu-devel] Connection breaks for macvtap

2013-03-27 Thread Richa Marwaha
gind ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.17" (uid=42 pid=658 comm="/usr/bin/gnome-session -f --debug ") The connection to the guest restart but wanted to know what makes it breakdown. Regards, Richa Marwaha

[Qemu-devel] [PATCH] Removing O_LARGEFILE from block layer

2012-09-28 Thread Richa Marwaha
QEMU by default configures -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE so there is not need to mention O_LARGEFILE in the block layer. Signed-off-by: Richa Marwaha --- block/raw-posix.c |2 +- block/vdi.c |2 +- block/vmdk.c |6 +++--- block/vvfat.c |2 +- 4 files

[Qemu-devel] [PATCH 0/4] -net tap: rootless bridge support for qemu

2011-10-06 Thread Richa Marwaha
l. More details are included in individual patches.The helper is broken into a series of patches to improve reviewabilty. Richa Marwaha (4): Add basic version of bridge helper Add access control support to qemu-bridge-helper Add cap reduction support to enable use as SUID Add support f

[Qemu-devel] [PATCH 1/4] Add basic version of bridge helper

2011-10-06 Thread Richa Marwaha
. The helper can then exit and let qemu use the tap device. Signed-off-by: Richa Marwaha --- Makefile | 12 +++- configure|1 + qemu-bridge-helper.c | 205 ++ 3 files changed, 216 insertions(+), 2 deletions(-) create

[Qemu-devel] [PATCH 2/4] Add access control support to qemu-bridge-helper

2011-10-06 Thread Richa Marwaha
ate bridge for the alice group. Users in the bob group can additionally get a tap device connected to br2. This allows br2 to act as a private bridge for the bob group. Under no circumstance can the bob group get access to br1 or can the alice group get access to br2. Signed-off-by: Ric

[Qemu-devel] [PATCH 3/4] Add cap reduction support to enable use as SUID

2011-10-06 Thread Richa Marwaha
prove security, use libcap to reduce our capability set to just cap_net_admin, then reduce privileges down to the calling user. This is hopefully close to equivalent to fscap support from a security perspective. Signed-off-by: Richa Marwaha --- configure| 34 ++

[Qemu-devel] [PATCH 4/4] Add support for bridge

2011-10-06 Thread Richa Marwaha
use a different bridge, they can say: qemu-hda linux.img -net tap,br=br0,helper=/usr/local/libexec/qemu-bridge-helper -net nic,model=virtio Signed-off-by: Richa Marwaha --- configure |2 + net.c |8 +++ net.h |2 + net/tap