Skip to content

Conversation

@afbjorklund
Copy link
Member

args = append(args, "-device", "ich9-intel-hda")
// audio codec
args = append(args, "-device", fmt.Sprintf("hda-output,audiodev=%s", id))
args = append(args, "-device", fmt.Sprintf("hda-duplex,audiodev=%s", id))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you update the comment in default.yaml?

Also wondering if we can have a YAML property to disable the audio input

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@afbjorklund WDYT?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A boolean could be added, not sure how to implement it for vz though

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VZ implementation can be another PR

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can just make that audio inputstream conditional based on the flag. If we decide on a flag i can do the same in another PR

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What should we do with this for v0.16.0?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My take would be we can support both for now as by default (as we have support for this in both drivers).

Later if we get any usecase for disabling input we will be able to easily provide at that point of time

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For security I'd prefer to disable input by default

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, i missed the security point. It makes sense.

I will create a PR for vz to support the same.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, so then we are good for qemu ?

@AkihiroSuda AkihiroSuda added this to the v0.16.0 milestone May 12, 2023
@AkihiroSuda AkihiroSuda removed this from the v0.16.0 milestone May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants