virsh.cpu_compare: Rewrite case to cover more scenarios

Signed-off-by: Yanbing Du <ydu@redhat.com>