摘要 |
A method and system for performing tests in a virtualized computing environment. A test suite includes test code for testing emulation of a device associated with a guest hosted by a computer system. The computer system sets an input parameter of a migration command in the test code to a first value to turn off the migration command. The computer system executes the test code to produce a first result. The computer system also sets the input parameter of the migration command to a second value to turn on the migration command, and executes the test code to produce a second result. Turning on the migration command causes the guest to migrate to a second hypervisor. Based on the first result and the second result, the computer system determines whether an error occurs in migration of the guest or in the emulation of the device.
|