mirror of
https://github.com/systemd/systemd.git
synced 2024-12-05 00:04:02 +08:00
2063b5540e
This addresses missing feature on #8677 Devices in Hyper-V/Azure exist on vmbus and are identified by UUID value. This patch adds a hardware table so that udevadm can report properties. I chose names are based on the values reported in Window Device Manager (for consistency). The table includes several devices that are not used by Linux but are present and ignored. For example: $ udevadm info -q property /sys/bus/vmbus/devices/58f75a6d-d949-4320-99e1-a2a2576d581c DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0004:00/VMBUS:00/58f75a6d-d949-4320-99e1-a2a2576d581c DRIVER=hid_hyperv ID_MODEL_FROM_DATABASE=Microsoft Hyper-V Mouse MODALIAS=vmbus:9eb6a8cf4a5bc04cb98b8ba1a1f3f95a SUBSYSTEM=vmbus USEC_INITIALIZED=11076966 Or with updated kernel the driverctl script. $ driverctl -b vmbus -v list-devices 1eccfd72-4b41-45ef-b73a-4a6e44c12924 hv_balloon (Microsoft Hyper-V Dynamic Memory) 242ff919-07db-4180-9c2e-b86cb68c8c55 hv_util (Microsoft Hyper-V Data Exchange) 2450ee40-33bf-4fbd-892e-9fb06e9214cf hv_util (Microsoft Hyper-V Backup/Restore) 2dd1ce17-079e-403c-b352-a1921ee207ee hv_util (Microsoft Hyper-V Time Sync) 4487b255-b88c-403f-bb51-d1f69cf17f87 (none) (Microsoft Hyper-V Virtual Machine Activation) 53557f8e-057d-425b-9265-01c0fd7e273e hv_netvsc (Microsoft Hyper-V Network Adapter) 5620e0c7-8062-4dce-aeb7-520c7ef76171 hyperv_fb (Microsoft Hyper-V Video) 58f75a6d-d949-4320-99e1-a2a2576d581c hid_hyperv (Microsoft Hyper-V Mouse) 849a776e-8120-4e4a-9a36-7e3d95ac75b3 hv_netvsc (Microsoft Hyper-V Network Adapter) 99221fa0-24ad-11e2-be98-001aa01bbf6e (none) (Microsoft Hyper-V Remote Desktop Control) b2f44faf-2a29-42ba-91b2-f13fd30a2d4b hv_storvsc (Microsoft Hyper-V SCSI Controller) b6650ff7-33bc-4840-8048-e0676786f393 hv_util (Microsoft Hyper-V Guest Shutdown) d34b2567-b9b6-42b9-8778-0a4ec0b955bf hyperv_keyboard (Microsoft Hyper-V Keyboard) f5bee29c-1741-4aad-a4c2-8fdedb46dcc2 (none) (Microsoft Hyper-V Remote Desktop Virtualization) fd149e91-82e0-4a7d-afa6-2a4166cbd7c0 hv_util (Microsoft Hyper-V Heartbeat)
58 lines
1.8 KiB
Plaintext
58 lines
1.8 KiB
Plaintext
# This file is part of systemd.
|
|
#
|
|
# Data extracted from Linux hyperv.h
|
|
|
|
vmbus:02780ada77e3ac4a8e770558eb1073f8
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V Video
|
|
|
|
vmbus:1657e6f8b33c064a9a601889c5cccab5
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V Remote Desktop Control
|
|
|
|
vmbus:1df6c444444400449d52802e27ede19f
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V PCI Controller
|
|
|
|
vmbus:292efa3523ea364296ae3a6ebacba440
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V Backup/Restore
|
|
|
|
vmbus:30e62795aed07b49adcee80ab0175caf
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V Time Sync
|
|
|
|
vmbus:31600b0e13523449818b38d90ced39db
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V Guest Shutdown
|
|
|
|
vmbus:32264132cb86a2449b5c50d1417354f5
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V IDE Controller
|
|
|
|
vmbus:394f16571591784eab55382f3bd5422d
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V Heartbeat
|
|
|
|
vmbus:3daf2e8ca732094bab99bd1f1c86b501
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V Guest RDMA
|
|
|
|
vmbus:635161f83edfc546913ff2d2f965ed0e
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V Network Adapter
|
|
|
|
vmbus:6dad12f9172bea48bd65f927a61c7684
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V Keyboard
|
|
|
|
vmbus:9eb6a8cf4a5bc04cb98b8ba1a1f3f95a
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V Mouse
|
|
|
|
vmbus:d96361baa104294db60572e2ffb1dc7f
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V SCSI Controller
|
|
|
|
vmbus:dc7450528589e2468057a307dc18a502
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V Dynamic Memory
|
|
|
|
vmbus:e34bd134e4dec8419ae76b174977c192
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V File Copy
|
|
|
|
vmbus:e7f4a0a9455a964db8278a841e8c03e6
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V Data Exchange
|
|
|
|
vmbus:f4ac6a2715ac6c4298dd7521ad3f01fe
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V Remote Desktop Virtualization
|
|
|
|
vmbus:f4ba7533159e304bb76567acb10d607b
|
|
ID_MODEL_FROM_DATABASE=Microsoft Hyper-V Virtual Machine Activation
|