> -----Original Message----- > From: qemu-devel-bounces+yu.liu=freescale.com@xxxxxxxxxx > [mailto:qemu-devel-bounces+yu.liu=freescale.com@xxxxxxxxxx] > On Behalf Of Jan Kiszka > Sent: Sunday, April 12, 2009 1:20 AM > To: qemu-devel@xxxxxxxxxx > Subject: [Qemu-devel] [PATCH 4/7] kvm: Add sanity checks to > slot management > > Fail loudly if we run out of memory slot. > > Make sure that dirty log start/stop works with consistent > memory regions > by reporting invalid parameters. This reveals several > inconsistencies in > the vga code, patch to fix them follows later in this series. > > And, for simplicity reasons, also catch and report unaligned memory > regions passed to kvm_set_phys_mem (KVM works on page basis). > Commit d3f8d37fe2d0c24ec8bac9c94d5b0e2dc09c0d2a hurts kvm/powerpc The alignment check in kvm_set_phys_mem prevents pci controller and mpic initializing mmio regions. ��.n��������+%������w��{.n�����o��^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�m