search for: usernet

Displaying 20 results from an estimated 37 matches for "usernet".

Did you mean: sernet
2014 Jan 23
4
[PATCH] appliance: Disable ipv6 in the appliance because qemu usernet is ipv4 only
...a26..cc8c978 100755 --- a/appliance/init +++ b/appliance/init @@ -71,6 +71,10 @@ for f in /sys/block/{h,s,ub,v}d*/queue/scheduler; do echo noop > $f; done # Update the system clock. hwclock -u -s +# Disable ipv6 because host names resolve to ipv4 and ipv6 +# Resolver may prefer ipv6 and qemu usernet does only ipv4 +for f in /proc/sys/net/ipv6/conf/*/disable_ipv6; do if test -w $f ; then echo 1 > $f; fi; done + # Set up the network. ip addr add 127.0.0.1/8 brd + dev lo scope host ip link set dev lo up
2014 Jan 24
0
Re: [PATCH] appliance: Disable ipv6 in the appliance because qemu usernet is ipv4 only
.../init > +++ b/appliance/init > @@ -71,6 +71,10 @@ for f in /sys/block/{h,s,ub,v}d*/queue/scheduler; do echo noop > $f; done > # Update the system clock. > hwclock -u -s > > +# Disable ipv6 because host names resolve to ipv4 and ipv6 > +# Resolver may prefer ipv6 and qemu usernet does only ipv4 > +for f in /proc/sys/net/ipv6/conf/*/disable_ipv6; do if test -w $f ; then echo 1 > $f; fi; done There's no error checking in init, so this should work: for f in /proc/sys/net/ipv6/conf/*/disable_ipv6; do echo 1 > $f; done However I don't understand why disabli...
2014 Jan 23
0
Re: [PATCH] appliance: Disable ipv6 in the appliance because qemu usernet is ipv4 only
On Thu, Jan 23, Olaf Hering wrote: > +++ b/appliance/init > # Update the system clock. > hwclock -u -s Why is that needed? Just wondering... Olaf
2014 Jan 24
2
Re: [PATCH] appliance: Disable ipv6 in the appliance because qemu usernet is ipv4 only
On Fri, Jan 24, Richard W.M. Jones wrote: > However I don't understand why disabling IPv6 should be necessary. If > sites resolve to AAAA+A records, then presumably it's going to choose > the A (IPv4) route since no IPv6 route exists. If a site resolves to > only an AAAA record, then it's not reachable whatever we do. For me the code tries to reach the ipv6 address,
2014 Jan 24
1
Re: [PATCH] appliance: Disable ipv6 in the appliance because qemu usernet is ipv4 only
On Thu, Jan 23, 2014 at 11:46:33PM +0100, Olaf Hering wrote: > On Thu, Jan 23, Olaf Hering wrote: > > > +++ b/appliance/init > > # Update the system clock. > > hwclock -u -s > > Why is that needed? Just wondering... I suspect it's not needed at all. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is
2014 Jan 24
0
Re: [PATCH] appliance: Disable ipv6 in the appliance because qemu usernet is ipv4 only
On Fri, Jan 24, 2014 at 11:55:26AM +0100, Olaf Hering wrote: > On Fri, Jan 24, Richard W.M. Jones wrote: > > > However I don't understand why disabling IPv6 should be necessary. If > > sites resolve to AAAA+A records, then presumably it's going to choose > > the A (IPv4) route since no IPv6 route exists. If a site resolves to > > only an AAAA record, then
2010 Oct 27
1
[PATCH] Fix networking in the appliance
Change 4963be85 re-introduced networking to the appliance, but didn't configure the custom network the appliance expects since we switched to link local addressing. This patch configures QEMU to use the custom network again. --- src/launch.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -------------- next part -------------- A non-text attachment was scrubbed... Name:
2016 Oct 18
3
virt-builder and Ubuntu 16.04 Xenial no access issue
Hello, I created an Ubuntu 16.04 Xenial guest using virt-builder(1) with # virt-builder ubuntu-16.04 -o /var/lib/libvirt/images/ubuntu-16.04.qcow2 --size 10G --format qcow2 --firstboot-command 'dpkg-reconfigure openssh-server' --arch x86_64 And imported it to libvirt with # virt-install --import --name ubuntu-xenial --ram 2048 --disk
2014 Sep 30
0
[PATCH 2/2] launch: libvirt: Use qemu-bridge-helper to implement a full network (RHBZ#1148012).
...quot; - * parameter. - */ - if (g->enable_network) { - start_element ("qemu:arg") { - attribute ("value", "-netdev"); - } end_element (); - - start_element ("qemu:arg") { - attribute ("value", "user,id=usernet,net=169.254.0.0/16"); - } end_element (); - - start_element ("qemu:arg") { - attribute ("value", "-device"); - } end_element (); - - start_element ("qemu:arg") { - attribute ("value", VIRTIO_NET ",netdev=u...
2016 Oct 19
1
Re: virt-builder and Ubuntu 16.04 Xenial no access issue
...: | | $ virt-builder ubuntu-16.04 --firstboot-command "dpkg-reconfigure openssh-server" --root-password password:123456 | | $ qemu-system-x86_64 -nodefconfig -display none -machine accel=kvm:tcg -m | 2048 -boot c -drive file=ubuntu-16.04.img,format=raw,if=ide -netdev | user,id=usernet,hostfwd=tcp:127.0.0.1:9000-:22 -device | rtl8139,netdev=usernet -serial stdio | | Observe that it boots without any console output. | | In another window, try: | | $ ssh -v root@localhost -p 9000 | | SSH will hang during connection. | | If you repeat the same tests as above, but using fed...
2016 Oct 18
0
Re: virt-builder and Ubuntu 16.04 Xenial no access issue
...roduce this myself: $ virt-builder ubuntu-16.04 --firstboot-command "dpkg-reconfigure openssh-server" --root-password password:123456 $ qemu-system-x86_64 -nodefconfig -display none -machine accel=kvm:tcg -m 2048 -boot c -drive file=ubuntu-16.04.img,format=raw,if=ide -netdev user,id=usernet,hostfwd=tcp:127.0.0.1:9000-:22 -device rtl8139,netdev=usernet -serial stdio Observe that it boots without any console output. In another window, try: $ ssh -v root@localhost -p 9000 SSH will hang during connection. If you repeat the same tests as above, but using fedora-24, it works fine. B...
2018 Dec 06
1
[PATCH] Revert "launch: libvirt: Use qemu-bridge-helper to implement
Possibly for post 1.40. Rich.
2014 Jan 15
4
Double fault panic in L2 upon v2v conversion
...e,if=none,cache=unsafe \ -device scsi-hd,drive=appliance \ -device virtio-serial \ -serial stdio \ -device sga \ -chardev socket,path=/tmp/libguestfsKr0x6j/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -netdev user,id=usernet,net=169.254.0.0/16 \ -device virtio-net-pci,netdev=usernet \ -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdc selinux=0 guestfs_verbose=1 TERM=dumb' \x1b[1;256r\x1b[256;256H\x1b[6n Google, Inc. Serial Graphics A...
2018 Dec 06
0
[PATCH v2] Revert "launch: libvirt: Use qemu-bridge-helper to implement a full network (RHBZ#1148012)."
...quot; + * parameter. + */ + if (g->enable_network) { + start_element ("qemu:arg") { + attribute ("value", "-netdev"); + } end_element (); + + start_element ("qemu:arg") { + attribute ("value", "user,id=usernet,net=169.254.0.0/16"); + } end_element (); + + start_element ("qemu:arg") { + attribute ("value", "-device"); + } end_element (); + + start_element ("qemu:arg") { + attribute ("value", VIRTIO_DEVICE_NAME ("...
2018 Dec 06
2
[PATCH v2] Revert "launch: libvirt: Use qemu-bridge-helper to implement a full network (RHBZ#1148012)."
Let's actually compile and test the patch this time, rather than trusting the RHEL 7.6 patch to apply directly to head ... Rich.
2014 Sep 30
4
[PATCH 1/2] appliance: Use dhclient instead of hard-coding IP address of appliance.
qemu in SLIRP mode offers DHCP services to the appliance. We don't use them, but use a fixed IP address intead. This changes the appliance to get its IP address using DHCP. Note: This is only used when the network is enabled. dhclient is somewhat slower, but the penalty (a few seconds) is only paid for network users. We could consider using the faster systemd dhcp client instead. ---
2014 Jan 15
0
Double fault panic in L2 upon v2v conversion
...e,if=none,cache=unsafe \ -device scsi-hd,drive=appliance \ -device virtio-serial \ -serial stdio \ -device sga \ -chardev socket,path=/tmp/libguestfsKr0x6j/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -netdev user,id=usernet,net=169.254.0.0/16 \ -device virtio-net-pci,netdev=usernet \ -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdc selinux=0 guestfs_verbose=1 TERM=dumb' \x1b[1;256r\x1b[256;256H\x1b[6n Google, Inc. Serial Graphics A...
2014 Jan 16
0
Re: Double fault panic in L2 upon v2v conversion
...e,if=none,cache=unsafe \ -device scsi-hd,drive=appliance \ -device virtio-serial \ -serial stdio \ -device sga \ -chardev socket,path=/tmp/libguestfsKr0x6j/guestfsd.sock,id=channel0 \ -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ -netdev user,id=usernet,net= 169.254.0.0/16 \ -device virtio-net-pci,netdev=usernet \ -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdc selinux=0 guestfs_verbose=1 TERM=dumb' \x1b[1;256r\x1b[256;256H\x1b[6n Google, Inc. Serial Graphics...
2014 Oct 02
5
[PATCH v3 0/4] launch: libvirt: Use qemu-bridge-helper to implement a
v3: - Various changes to dhclient/dhcpcd as discussed on the mailing list.
2016 Aug 26
2
[PATCH 1/2] customize: Fix firstboot scripts on Debian 6 & 7 (RHBZ#1019388).
I have only verified the fix on Debian 7. The Debian 6 guest doesn't appear to boot, I'm not sure why. The second patch contains a test suite. Rich.