Tap initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've been having some problem with recent releases when it comes to tap initialization. It seems that the script is ran after the tap is opened. I think this is a bit weird and useless as I want the script to setup the tap by itself.

In net.c, the initialization (I assume) happen in
static int net_tap_init

setup_script is called after tap_open with the fd from tap_open as a parameter.

However in setup_script, the fd is basically not used.

Would there be any reason not to remove the fd parameter to setup_script, and then call setup_script before tap_open ?

I've tried it with kvm-86 and it seems to work
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux