hw/acpi/ich9: clean up stale comment about KVM not supporting SMM
Commit fba72476c6 ("ich9: add smm_enabled field and arguments") detached
SMM availability from kvm_enabled(). However, the comment in pm_reset()
was not updated; let's do it now.
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-trivial@nongnu.org
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
			
			
This commit is contained in:
		
							parent
							
								
									be66680e83
								
							
						
					
					
						commit
						f3c30aeaa7
					
				| 
						 | 
					@ -223,8 +223,7 @@ static void pm_reset(void *opaque)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    pm->smi_en = 0;
 | 
					    pm->smi_en = 0;
 | 
				
			||||||
    if (!pm->smm_enabled) {
 | 
					    if (!pm->smm_enabled) {
 | 
				
			||||||
        /* Mark SMM as already inited to prevent SMM from running. KVM does not
 | 
					        /* Mark SMM as already inited to prevent SMM from running. */
 | 
				
			||||||
         * support SMM mode. */
 | 
					 | 
				
			||||||
        pm->smi_en |= ICH9_PMIO_SMI_EN_APMC_EN;
 | 
					        pm->smi_en |= ICH9_PMIO_SMI_EN_APMC_EN;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    pm->smi_en_wmask = ~0;
 | 
					    pm->smi_en_wmask = ~0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue