qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 2/2] tests: update expected SSDT for floppy c


From: Roman Kagan
Subject: Re: [Qemu-devel] [PATCH v3 2/2] tests: update expected SSDT for floppy changes
Date: Wed, 23 Dec 2015 18:06:31 +0300
User-agent: Mutt/1.5.24 (2015-08-30)

On Wed, Dec 23, 2015 at 03:45:29PM +0200, Michael S. Tsirkin wrote:
> This is the actual vs expected diff with both patches applied.

Interesting...  The diff suggests that qemu running in your test
environment has no floppy drives, while in mine ...

> +    Scope (\_SB.PCI0.ISA.FDC0)
> +    {
> +        Device (FLPA)
> +        {
> +            Name (_ADR, Zero)  // _ADR: Address
> +            Name (_FDI, Package (0x10)  // _FDI: Floppy Drive Information
> +            {
> +                Zero, 
> +                0x04, 
> +                0x4F, 
> +                0x12, 
> +                One, 
[...]
> +            })
> +        }
> +
> +        Name (_FDE, Buffer (0x14)  // _FDE: Floppy Disk Enumerate
> +        {
> +            /* 0000 */  0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /* 
> ........ */
> +            /* 0008 */  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /* 
> ........ */
> +            /* 0010 */  0x02, 0x00, 0x00, 0x00                           /* 
> .... */
> +        })
> +    }

... it has one 1.44M drive with correct geometry for pc machine type,
and ...

> +    Scope (\_SB.PCI0.ISA.FDC0)
> +    {
> +        Device (FLPA)
> +        {
> +            Name (_ADR, Zero)  // _ADR: Address
> +            Name (_FDI, Package (0x10)  // _FDI: Floppy Drive Information
> +            {
> +                Zero, 
> +                0x04, 
> +                0xFFFFFFFFFFFFFFFF, 
> +                Zero, 
> +                0xFFFFFFFFFFFFFFFF, 
[...]
> +            })
> +        }
> +
> +        Device (FLPB)
> +        {
> +            Name (_ADR, One)  // _ADR: Address
> +            Name (_FDI, Package (0x10)  // _FDI: Floppy Drive Information
> +            {
> +                One, 
> +                0x04, 
> +                0xFFFFFFFFFFFFFFFF, 
> +                Zero, 
> +                0xFFFFFFFFFFFFFFFF, 
[...]
> +            })
> +        }
> +
> +        Name (_FDE, Buffer (0x14)  // _FDE: Floppy Disk Enumerate
> +        {
> +            /* 0000 */  0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,  /* 
> ........ */
> +            /* 0008 */  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  /* 
> ........ */
> +            /* 0010 */  0x02, 0x00, 0x00, 0x00                           /* 
> .... */
> +        })
> +    }

... two 1.44M drives with bogus geometry for q35.

Looking into this, thanks for the diff.

Roman.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]