Fix typo s/ES97/AC97/

This commit is contained in:
Daniel P. Berrange 2009-05-21 14:16:06 +00:00
parent d8dbd61107
commit 7828b5ccb0
3 changed files with 7 additions and 3 deletions

View File

@ -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>
Basic domain XML conversions

View File

@ -253,7 +253,7 @@ enum virDomainSoundModel {
VIR_DOMAIN_SOUND_MODEL_SB16,
VIR_DOMAIN_SOUND_MODEL_ES1370,
VIR_DOMAIN_SOUND_MODEL_PCSPK,
VIR_DOMAIN_SOUND_MODEL_ES97,
VIR_DOMAIN_SOUND_MODEL_AC97,
VIR_DOMAIN_SOUND_MODEL_LAST
};

View File

@ -1878,7 +1878,7 @@ static char *vboxDomainDumpXML(virDomainPtr dom, int flags) {
if (audioController == AudioControllerType_SB16) {
def->sounds[0]->model = VIR_DOMAIN_SOUND_MODEL_SB16;
} else if (audioController == AudioControllerType_AC97) {
def->sounds[0]->model = VIR_DOMAIN_SOUND_MODEL_ES97;
def->sounds[0]->model = VIR_DOMAIN_SOUND_MODEL_AC97;
}
} else {
VIR_FREE(def->sounds);
@ -2934,7 +2934,7 @@ static virDomainPtr vboxDomainDefineXML(virConnectPtr conn, const char *xml) {
if (NS_SUCCEEDED(rc)) {
if (def->sounds[0]->model == VIR_DOMAIN_SOUND_MODEL_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);
}
}