Add virtio 1.0 pci ids

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Add virtio 1.0 pci ids

Stefan Fritsch
Everything above 0x1040 is 1.x only.
   
Also tweak descriptoin of memory balloon device. There will be a memory,
too.

OK?

diff --git a/sys/dev/pci/pcidevs b/sys/dev/pci/pcidevs
index 14943bb1350..72f95a29b00 100644
--- a/sys/dev/pci/pcidevs
+++ b/sys/dev/pci/pcidevs
@@ -6692,12 +6692,17 @@ product PERLE SPEED8_LE 0xb008 Speed8 LE
 /* Qumranet products */
 product QUMRANET VIO_NET 0x1000 Virtio Network
 product QUMRANET VIO_BLOCK 0x1001 Virtio Storage
-product QUMRANET VIO_MEM 0x1002 Virtio Memory
+product QUMRANET VIO_MEM 0x1002 Virtio Memory Balloon
 product QUMRANET VIO_CONS 0x1003 Virtio Console
 product QUMRANET VIO_SCSI 0x1004 Virtio SCSI
 product QUMRANET VIO_RNG 0x1005 Virtio RNG
-product QUMRANET VIO_GPU 0x1050 Virtio GPU
-product QUMRANET VIO_INPUT 0x1052 Virtio Input
+product QUMRANET VIO1_NET 0x1041 Virtio 1.x Network
+product QUMRANET VIO1_BLOCK 0x1042 Virtio 1.x Storage
+product QUMRANET VIO1_CONS 0x1043 Virtio 1.x Console
+product QUMRANET VIO1_RNG 0x1044 Virtio 1.x RNG
+product QUMRANET VIO1_SCSI 0x1048 Virtio 1.x SCSI
+product QUMRANET VIO1_GPU 0x1050 Virtio 1.x GPU
+product QUMRANET VIO1_INPUT 0x1052 Virtio 1.x Input
 
 /* Ross -> Pequr -> ServerWorks -> Broadcom ServerWorks products */
 product RCC CMIC_LE 0x0000 CMIC-LE

Reply | Threaded
Open this post in threaded view
|

Re: Add virtio 1.0 pci ids

Mike Larkin
On Thu, Jan 10, 2019 at 06:59:15PM +0100, Stefan Fritsch wrote:
> Everything above 0x1040 is 1.x only.
>    
> Also tweak descriptoin of memory balloon device. There will be a memory,
> too.
>
> OK?
>

ok

> diff --git a/sys/dev/pci/pcidevs b/sys/dev/pci/pcidevs
> index 14943bb1350..72f95a29b00 100644
> --- a/sys/dev/pci/pcidevs
> +++ b/sys/dev/pci/pcidevs
> @@ -6692,12 +6692,17 @@ product PERLE SPEED8_LE 0xb008 Speed8 LE
>  /* Qumranet products */
>  product QUMRANET VIO_NET 0x1000 Virtio Network
>  product QUMRANET VIO_BLOCK 0x1001 Virtio Storage
> -product QUMRANET VIO_MEM 0x1002 Virtio Memory
> +product QUMRANET VIO_MEM 0x1002 Virtio Memory Balloon
>  product QUMRANET VIO_CONS 0x1003 Virtio Console
>  product QUMRANET VIO_SCSI 0x1004 Virtio SCSI
>  product QUMRANET VIO_RNG 0x1005 Virtio RNG
> -product QUMRANET VIO_GPU 0x1050 Virtio GPU
> -product QUMRANET VIO_INPUT 0x1052 Virtio Input
> +product QUMRANET VIO1_NET 0x1041 Virtio 1.x Network
> +product QUMRANET VIO1_BLOCK 0x1042 Virtio 1.x Storage
> +product QUMRANET VIO1_CONS 0x1043 Virtio 1.x Console
> +product QUMRANET VIO1_RNG 0x1044 Virtio 1.x RNG
> +product QUMRANET VIO1_SCSI 0x1048 Virtio 1.x SCSI
> +product QUMRANET VIO1_GPU 0x1050 Virtio 1.x GPU
> +product QUMRANET VIO1_INPUT 0x1052 Virtio 1.x Input
>  
>  /* Ross -> Pequr -> ServerWorks -> Broadcom ServerWorks products */
>  product RCC CMIC_LE 0x0000 CMIC-LE
>