search for: nic_info

Displaying 9 results from an estimated 9 matches for "nic_info".

Did you mean: mic_info
2011 Jan 11
0
[PATCH, v2]: xl: move domain struct init functions to libxl
...s/libxl/libxl.c Tue Jan 11 15:30:48 2011 +0000 +++ b/tools/libxl/libxl.c Tue Jan 11 15:40:45 2011 +0000 @@ -1024,6 +1024,35 @@ int libxl_device_disk_local_detach(libxl } /******************************************************************************/ +int libxl_device_nic_init(libxl_device_nic *nic_info, int devnum) +{ + const uint8_t *r; + libxl_uuid uuid; + + libxl_uuid_generate(&uuid); + r = libxl_uuid_bytearray(&uuid); + memset(nic_info, ''\0'', sizeof(*nic_info)); + + nic_info->backend_domid = 0; + nic_info->domid = 0; + nic_info->devid...
2011 Feb 01
2
[PATCH] libxl: change default HVM emulated network card to rtl8139
...mu, in the Xen 4.2 release cycle. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c index 5c1b3ab..6dbfca7 100644 --- a/tools/libxl/libxl.c +++ b/tools/libxl/libxl.c @@ -1110,7 +1110,7 @@ int libxl_device_nic_init(libxl_device_nic *nic_info, int devnum) nic_info->domid = 0; nic_info->devid = devnum; nic_info->mtu = 1492; - nic_info->model = strdup("e1000"); + nic_info->model = strdup("rtl8139"); nic_info->mac[0] = 0x00; nic_info->mac[1] = 0x16; nic_info->m...
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...if host.object_id.agent_bank == agent_bank + # Grab the cpus and nics associated before we take any locks + cpu_info = @qmfc.objects(:package => 'com.redhat.matahari', :class => 'cpu', 'host' => host.object_id) + nic_info = @qmfc.objects(:package => 'com.redhat.matahari', :class => 'nic', 'host' => host.object_id) + + # And pass it on to the real handler + update_host(host, cpu_info, nic_info) + end + end end - def agent_disco...
2009 Jul 10
2
[PATCH: server 0/3] Add host-register.rb (replaces host-browser.rb in part)
Removes node identification functionality from host-browser.rb and adds a new script, host-register.rb, that takes over that functionality. The chief difference is that host-browser used a simple TCP server setup to get data from the node, while host-register uses the qpid bus to do so. Specifically, it communicates with the matahari qmf agent added to the node in two related patchsets to node
2010 Aug 18
2
[PATCH] Don't show vlan interfaces in NIC host management
...@logger.info "Updating details for: #{detail.interface} [#{nic.mac}]}" nic.bandwidth = detail.bandwidth nic.interface_name = detail.interface nic.save! found = true nic_info.delete(detail) + end end end @@ -425,9 +430,12 @@ class HostRegister < Qmf::ConsoleHandler 'interface_name' => nic.interface, 'usage_type' => 1) - host_db.nics << detail - -...
2010 Sep 14
1
[PATCH] Fix bad declaration in host-register
....interface_name} [#{nic.mac}]}" nic.bandwidth = detail.bandwidth - nic.interface_name = detail.interface + nic.interface_name = detail.interface_name nic.save! found = true nic_info.delete(detail) @@ -430,8 +429,8 @@ class HostRegister < Qmf::ConsoleHandler 'interface_name' => nic.interface, 'usage_type' => 1) - if detail.interface =~ /eth\d+\.\d+/ || detail.interface =~ /vnet\d+/ - @logger.info "...
2010 Aug 18
16
[PATCH 00 of 16] libxl: autogenerate type definitions and destructor functions
The series introduces auto-generation of the type definitions used in the libxl interface followed by auto-generation of a destructor function for each type. In the future it may be possible to use the related data structures for other purposes, for example auto-generation of the functions to marshal between C and language binding data types. tools/_libxl_types.h should be identical both before
2010 Nov 12
3
Updating oVirt Server to the latest Matahari 0.4.0 schema
...e just copied into ovirt database. CPU information could be used to check migration compatibility, but this should be done through libvirt/libvirt-qpid anyway. So I would propose ovirt-server to just remove cpus table, what does ovirt-devel say? Last are network interfaces, also 1:N relationship: nic_info = @qmfc.objects(:package => 'com.redhat.matahari', :class => 'nic', 'host' => host.object_id) nic properties used: macaddr interface seems to be bug in host-register.rb, it uses "interface_name" property which doesn't exist in matahari 0.0.5 QMF sc...
2010 Jun 28
8
[PATCH] add xl ocaml bindings
..._VHD + | PHYSTYPE_AIO + | PHYSTYPE_FILE + | PHYSTYPE_PHY + +type disk_info = +{ + backend_domid : domid; + physpath : string; + phystype : disk_phystype; + virtpath : string; + unpluggable : bool; + readwrite : bool; + is_cdrom : bool; +} + +type nic_type = + | NICTYPE_IOEMU + | NICTYPE_VIF + +type nic_info = +{ + backend_domid : domid; + devid : int; + mtu : int; + model : string; + mac : int array; + bridge : string; + ifname : string; + script : string; + nictype : nic_type; +} + +type console_type = + | CONSOLETYPE_XENCONSOLED + | CONSOLETYPE_IOEMU + +type console_info = +{ + backend_domid : domid...