[PATCH 1/2] ide: Make room for flags in PCIIDEState and add one for legacy IRQ routing

2020-02-29 Thread BALATON Zoltan
We'll need a flag for implementing some device specific behaviour in via-ide but we already have a currently CMD646 specific field that can be repurposed for this and leave room for furhter flags if needed in the future. This patch changes the "secondary" field to "flags" and define the flags for C

[PATCH 2/2] via-ide: Also emulate non 100% native mode

2020-02-29 Thread BALATON Zoltan
Some machines operate in "non 100% native mode" where interrupts are fixed at legacy IDE interrupts and some guests expect this behaviour without checking based on knowledge about hardware. Even Linux has arch specific workarounds for this that are activated on such boards so this needs to be emula

[PATCH 0/2] Implement "non 100% native mode" in via-ide

2020-02-29 Thread BALATON Zoltan
This small series implements the quirky mode of via-ide found at least on pegasos2 which is needed for guests that expect this and activate work arounds on that platform so don't work unless this is emulated. (Symptom is missing IDE interrupts.) We need a flag to turn this mode on or off so the fir

Re: [PULL 06/15] configure: Enable test and libs for zstd

2020-02-29 Thread Richard Henderson
> +## > +# zstd check > + > +if test "$zstd" != "no" ; then > +if $pkg_config --exist libzstd ; then The option is spelled --exists. This is generating an error during configure. r~