libosv.so: Add missing weak symbols

We define a lot of symbols using weak_alias(). Unfortunately,
scripts/libosv.py only copied global-binding symbols, not those with weak
binding. We also need to copy those with weak binding.

Note that they are not currently marked as weak symbols on the resulting
libosv.so. This will not make a practical difference, because OSv doesn't
respect the weakness of symbols anyway.

Fixes #365.

Signed-off-by: Nadav Har'El <nyh@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
net_device_options
disable msleep
Revert "disable msleep"

This reverts commit a24f287945f8c970c3e7a1e230971dd576a0a497.
Add trace_in_pcblookup_hash_locked

Signed-off-by: Asias He <asias@cloudius-systems.com>
_ifn->if_hwassist = CSUM_IP

Signed-off-by: Asias He <asias@cloudius-systems.com>
Revert "_ifn->if_hwassist = CSUM_IP"

This reverts commit e915e760519588fb71267a84a01d847dfe7f44c1.
LIST count
Revert "LIST count"

This reverts commit fefd64f49d4542eb96913b3d15d18a76fd7fbf28.
Route cache patch

Signed-off-by: Asias He <asias@cloudius-systems.com>
Revert "Route cache patch"

This reverts commit dd91ca7a09e12ade77f25b6915cead0f25e75736.
rcu hashtable

This generic hash table does not follow STL conventions, since using an
iterator is difficult where things can change under your feet.

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>
net: use rcu_hashtable in net channel classifier

Reduce overhead in creating a tcp connection from O(existing connection count)
to O(1).

Signed-off-by: Avi Kivity <avi@cloudius-systems.com>