On Tue, Jan 11, 2011 at 04:08:21PM +0200, Avi Kivity wrote: > On 01/11/2011 03:54 PM, Gleb Natapov wrote: > >On Tue, Jan 11, 2011 at 03:53:08PM +0200, Avi Kivity wrote: > >> On 01/11/2011 03:30 PM, Gleb Natapov wrote: > >> >+ > >> >+asm ( > >> >+ ".global resume_start\n" > >> >+ ".global resume_end\n" > >> >+ ".code16\n" > >> >+ "resume_start:\n" > >> >+ "mov 0x0, %eax\n" > >> >+ "mov $0xf4, %dx\n" > >> >+ "out %eax, %dx\n" > >> >+ "1: hlt\n" > >> >+ "jmp 1b\n" > >> >+ "resume_end:\n" > >> >+#ifdef __i386__ > >> >+ ".code32\n" > >> >+#else > >> >+ ".code64\n" > >> >+#endif > >> >+ ); > >> > >> Is this a kvm unit test or a qemu unit test? > >> > >Both? Is this a bad thing? > > We may want to move non-kvm tests to qemu.git. Though all of the > non-api tests work equally for qemu and kvm. > We will have to maintain two separate unit test infrastructures then. We can make x86/qemu or x86/device-model subdir in kvm-unit-test. -- Gleb. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html