mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
Fix typo s/ES97/AC97/
This commit is contained in:
parent
d8dbd61107
commit
7828b5ccb0
@ -1,3 +1,7 @@
|
|||||||
|
Thu May 21 15:15:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
* src/domain_conf.h, src/vbox/vbox_tmp.c: Fix typo s/ES97/AC97/
|
||||||
|
|
||||||
Thu May 21 14:59:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
Thu May 21 14:59:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
Basic domain XML conversions
|
Basic domain XML conversions
|
||||||
|
@ -253,7 +253,7 @@ enum virDomainSoundModel {
|
|||||||
VIR_DOMAIN_SOUND_MODEL_SB16,
|
VIR_DOMAIN_SOUND_MODEL_SB16,
|
||||||
VIR_DOMAIN_SOUND_MODEL_ES1370,
|
VIR_DOMAIN_SOUND_MODEL_ES1370,
|
||||||
VIR_DOMAIN_SOUND_MODEL_PCSPK,
|
VIR_DOMAIN_SOUND_MODEL_PCSPK,
|
||||||
VIR_DOMAIN_SOUND_MODEL_ES97,
|
VIR_DOMAIN_SOUND_MODEL_AC97,
|
||||||
|
|
||||||
VIR_DOMAIN_SOUND_MODEL_LAST
|
VIR_DOMAIN_SOUND_MODEL_LAST
|
||||||
};
|
};
|
||||||
|
@ -1878,7 +1878,7 @@ static char *vboxDomainDumpXML(virDomainPtr dom, int flags) {
|
|||||||
if (audioController == AudioControllerType_SB16) {
|
if (audioController == AudioControllerType_SB16) {
|
||||||
def->sounds[0]->model = VIR_DOMAIN_SOUND_MODEL_SB16;
|
def->sounds[0]->model = VIR_DOMAIN_SOUND_MODEL_SB16;
|
||||||
} else if (audioController == AudioControllerType_AC97) {
|
} else if (audioController == AudioControllerType_AC97) {
|
||||||
def->sounds[0]->model = VIR_DOMAIN_SOUND_MODEL_ES97;
|
def->sounds[0]->model = VIR_DOMAIN_SOUND_MODEL_AC97;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
VIR_FREE(def->sounds);
|
VIR_FREE(def->sounds);
|
||||||
@ -2934,7 +2934,7 @@ static virDomainPtr vboxDomainDefineXML(virConnectPtr conn, const char *xml) {
|
|||||||
if (NS_SUCCEEDED(rc)) {
|
if (NS_SUCCEEDED(rc)) {
|
||||||
if (def->sounds[0]->model == VIR_DOMAIN_SOUND_MODEL_SB16) {
|
if (def->sounds[0]->model == VIR_DOMAIN_SOUND_MODEL_SB16) {
|
||||||
audioAdapter->vtbl->SetAudioController(audioAdapter, AudioControllerType_SB16);
|
audioAdapter->vtbl->SetAudioController(audioAdapter, AudioControllerType_SB16);
|
||||||
} else if (def->sounds[0]->model == VIR_DOMAIN_SOUND_MODEL_ES97) {
|
} else if (def->sounds[0]->model == VIR_DOMAIN_SOUND_MODEL_AC97) {
|
||||||
audioAdapter->vtbl->SetAudioController(audioAdapter, AudioControllerType_AC97);
|
audioAdapter->vtbl->SetAudioController(audioAdapter, AudioControllerType_AC97);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user