libera/#devuan/ Friday, 2019-08-16

TwistedFatewoah, '-enable-kvm' speeds qemu quite a bit01:24
debdog: true01:24
* rrq is also using -cpu host01:24
TwistedFaterrq: does it emulate cpu unless that flag is specified?01:25
rrqI believe so01:25
TwistedFateit does, drat >.<01:25
rrqthen I'm also using "-smp cpus=4,cores=4" since I don't do anything useful on the host anyhow01:26
TwistedFateweird, it still emulates the cpu when i specify -cpu host01:30
rrqok. didn't know that.01:31
TwistedFatehmm01:31
DonkeyHoteii typically invoke "kvm" rather than "qemu"01:33
DonkeyHoteithey are the same executable, but the former assumes '-enable-kvm' by default01:34
DonkeyHoteimakes the full command visibly shorter01:34
rrqI'm typically using ./$VM.sh as I'm too lazy to try to remember the particulars for each $VM :)01:37
DonkeyHoteiyes, but ./$VM.sh invokes a command01:39
rrqindeed. and I shouldn't pretend to be too old to learn... though I haven't got/set the kvm link (yet)01:42
DonkeyHoteirrq: apt-get install qemu-kvm01:44
CriggieI'm stunned - set up a small test VM and installing Devuan Ascii, and 256 MB ram was not enough to install.02:11
TwistedFatehmm '-soundhw hda' freezes the machine upon boot02:21
TwistedFate'soundhw ac97' works like a charm though02:21
TwistedFate'-soundhw ac97'*02:22
TwistedFatei'm pretty impressed with the qemu/kvm right now O_o02:25
koollmanwhy?02:26
TwistedFatepreviously it was stuttery, must have been missing some flags02:27
gnarfacei told you so02:28
TwistedFatei see gnarface wrote something, but i don't see what :302:28
TwistedFatenow i only need to figure out networking :P02:33
fsmithredme too02:36
fsmithredall the howtos I've seen are incomplete02:37
TwistedFateit's a pain in the butt02:39
TwistedFatei want to create a couple of virtual machines and connect them02:39
TwistedFateand also have them connected to the internet02:39
fsmithredso you want bridged network02:45
fsmithredI've got that working, but it's not ideal02:45
fsmithredif I boot two live CDs, they both get the same ip address02:45
fsmithredif I boot a virtual hard disk, I can set a static ip that's unique02:45
fsmithredthey're all getting addresses from my router02:46
fsmithredI tried messing with macvtap today, but I couldn't get it to work02:46
rrquse a vde_switch (vde2) to a tap in a bridge joined with eth002:49
fsmithredthat wasn't in the instructions02:50
rrqalso make sure the VM's nic have different mac addresses02:50
fsmithredyeah, about that address02:51
fsmithredI get "invalid PCI address"02:51
fsmithreddon't look like a pci address in the example02:51
fsmithredlooks just like a mac address, and that's what they call it02:51
rrqno it's a mac address = 6 bytes starting with an byte02:52
rrqan even byte02:52
fsmithredVM's mac address needs to be different from macvtap0's address, or the same?02:52
fsmithredso qemu is confused?02:52
rrqdifferent ... "two ends of a cable"02:52
fsmithredor my instructions are old and don't match current options02:52
fsmithredis there some place that explains what I'm allowed to use as a mac address?02:53
fsmithredI made up one that got rejected02:53
rrqthere's a wikipedia page :) .. anythig starting with 02: is fine02:54
rrqor 0402:54
fsmithreddamn02:54
rrqor 0602:54
fsmithredwhy don't the examples start with that?02:54
fsmithredscratch that question02:54
fsmithredno way for you to know what was in the minds of the authors02:55
rrqactually 06 might be taken by a vendor... use 02 or 0402:55
rrqI think they are "private mac addresses"02:56
rrqthere's a wikipedia page02:56
rrqwith "vde_switch (vde2) to a tap in a bridge joined with eth0" you've got a local "switch" for the qemu to attach to02:57
rrqand their dhcp requests go out to your dhcp server, with their macaddresses02:59
rrqresponses channelled back by the bridge and the vde_switch02:59
rrqno ip for the tap, nor the bridge, but they need to be "up"03:00
fsmithredok, thanks03:02
fsmithredtime for food03:03
rrqwhile eating, you might ponder on that the vde_switch set up lets you run the qemu as non-root user(s) ...03:13
TwistedFatewhat? i run qemu as a non-root user without that03:14
rrq.. with its "user mode networking" I suppose?03:16
rrqalso possible with a tap, if root gives user ownership of the tap03:18
rrqI use the vde_switch set up on the basis it's high-performance and without further root admin03:21
rrq(and it lets me go crazy with other virtual cabling :))03:22
TwistedFaterrq: ehh, i guess so.. i'm still experimenting, haven't figured it out yet03:44

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!