From ffa48cf5ab719e1e181e51b87bc0f5d397b791fa Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 18 Apr 2013 18:43:59 +0200 Subject: audio: remove HAS_AUDIO Several targets can have wavcapture/-soundhw support via PCI cards. HAS_AUDIO is a useless limitation, remove it. Signed-off-by: Paolo Bonzini Message-id: 1366303444-24620-4-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori --- vl.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'vl.c') diff --git a/vl.c b/vl.c index 322ea804f9..6668b12014 100644 --- a/vl.c +++ b/vl.c @@ -3232,18 +3232,10 @@ int main(int argc, char **argv, char **envp) add_device_config(DEV_BT, optarg); break; case QEMU_OPTION_audio_help: - if (!(audio_available())) { - printf("Option %s not supported for this target\n", popt->name); - exit(1); - } AUD_help (); exit (0); break; case QEMU_OPTION_soundhw: - if (!(audio_available())) { - printf("Option %s not supported for this target\n", popt->name); - exit(1); - } select_soundhw (optarg); break; case QEMU_OPTION_h: -- cgit v1.2.3