GitHub PushEvent at 2014-09-01 10:41:03
Repository: qemu
Actor: J-Liu
Payload: {"shas":[["c8e2085d8e7a64d753eb2a43e4aeae674a99d2ff","ae115cfa58aaa81618f054056f573d0d78c5ed09@linux.vnet.ibm.com","kvm: run cpu state synchronization on target vcpu thread\n\nAs already done for kvm_cpu_synchronize_state(), let's trigger\nkvm_arch_put_registers() via run_on_cpu() for kvm_cpu_synchronize_post_reset()\nand kvm_cpu_synchronize_post_init().\n\nThis way, we make sure that the register synchronizing ioctls are\ncalled from the proper vcpu thread; this avoids calls to\nsynchronize_rcu() in the kernel.\n\nReviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>\nSigned-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","David Hildenbrand",true],["9cb805fd2674f474d058fee6d7aa9e83fcd3d336","ac1fc56530d7d037e1ea666f130daca22d72f964@ozlabs.ru","cpus: Define callback for QEMU \"nmi\" command\n\nThis introduces an NMI (Non Maskable Interrupt) interface with\na single nmi_monitor_handler() method. A machine or a device can\nimplement it. This searches for an QOM object with this interface\nand if it is implemented, calls it. The callback implements an action\nrequired to cause debug crash dump on in-kernel debugger invocation.\nThe callback returns Error**.\n\nThis adds a nmi_monitor_handle() helper which walks through\nall objects to find the interface. The interface method is called\nfor all found instances.\n\nThis adds support for it in qmp_inject_nmi(). Since no architecture\nsupports it at the moment, there is no change in behaviour.\n\nThis changes inject-nmi command description for HMP and QMP.\n\nSigned-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>\nReviewed-by: Alexander Graf <agraf@suse.de>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Alexey Kardashevskiy",true],["d07aa7c7bb06fdc9973059889b33dfca1d2efe55","ac1fc56530d7d037e1ea666f130daca22d72f964@ozlabs.ru","s390x: Convert QEMUMachine to MachineClass\n\nThis converts s390-virtio and s390-ccw-virtio machines to QOM MachineClass.\nThis brings ability to add interfaces to the machine classes. The first\ninterface for addition will be NMI.\n\nThe patch is mechanical so no change in behavior is expected.\n\nSigned-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>\nReviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>\nReviewed-by: Alexander Graf <agraf@suse.de>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Alexey Kardashevskiy",true],["3dd7852f1925ec1b3eca32c894e1a84882e145f1","ac1fc56530d7d037e1ea666f130daca22d72f964@ozlabs.ru","s390x: Migrate to new NMI interface\n\nThis implements an NMI interface for s390 and s390-ccw machines.\n\nThis removes #ifdef s390 branch in qmp_inject_nmi so new s390's\nnmi_monitor_handler() callback is going to be used for NMI.\n\nSince nmi_monitor_handler()-calling code is platform independent,\nCPUState::cpu_index is used instead of S390CPU::env.cpu_num.\nThere should not be any change in behaviour as both @cpu_index and\n@cpu_num are global CPU numbers.\n\nNote that s390_cpu_restart() already takes care of the specified cpu,\nso we don't need to schedule via async_run_on_cpu().\n\nSince the only error s390_cpu_restart() can return is ENOSYS, convert\nit to QERR_UNSUPPORTED.\n\nSigned-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>\nReviewed-by: Alexander Graf <agraf@suse.de>\nReviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Alexey Kardashevskiy",true],["3431648272d317ed768fe46183c7a1cea4803732","ac1fc56530d7d037e1ea666f130daca22d72f964@ozlabs.ru","spapr: Add support for new NMI interface\n\nThis implements an NMI interface POWERPC SPAPR machine.\nThis enables an \"nmi\" HMP/QMP command supported on SPAPR.\n\nThis calls POWERPC_EXCP_RESET (vector 0x100) in the guest to deliver NMI\nto every CPU. The expected result is XMON (in-kernel debugger) invocation.\n\nSigned-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>\nReviewed-by: Alexander Graf <agraf@suse.de>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Alexey Kardashevskiy",true],["1844e68ecabbdfdf0228774bcd5cf0f63ffc2e57","760d6293d4dd13cc91c6707e0b8a09e44862e83d@ubuntu.com","target-i386: Don't forbid NX bit on PAE PDEs and PTEs\n\nCommit e8f6d00c30ed88910d0d985f4b2bf41654172ceb (\"target-i386: raise\npage fault for reserved physical address bits\") added a check that the\nNX bit is not set on PAE PDPEs, but it also added it to rsvd_mask for\nthe rest of the function. This caused any PDEs or PTEs with NX set to be\nerroneously rejected, making PAE guests with NX support unusable.\n\nSigned-off-by: William Grant <wgrant@ubuntu.com>\nCc: qemu-stable@nongnu.org\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","William Grant",true],["d8b5c67b05420d966664664ff287af05b884bdd1","7469de9b95ba379e2656fa9677689657c47a7690@redhat.com","x86: Use common variable range MTRR counts\n\nWe currently define the number of variable range MTRR registers as 8\nin the CPUX86State structure and vmstate, but use MSR_MTRRcap_VCNT\n(also 8) to report to guests the number available.  Change this to\nuse MSR_MTRRcap_VCNT consistently.\n\nSigned-off-by: Alex Williamson <alex.williamson@redhat.com>\nReviewed-by: Laszlo Ersek <lersek@redhat.com>\nCc: qemu-stable@nongnu.org\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Alex Williamson",true],["d1ae67f626c5ed5729e1d8212834291b409d26df","7469de9b95ba379e2656fa9677689657c47a7690@redhat.com","x86: kvm: Add MTRR support for kvm_get|put_msrs()\n\nThe MTRR state in KVM currently runs completely independent of the\nQEMU state in CPUX86State.mtrr_*.  This means that on migration, the\ntarget loses MTRR state from the source.  Generally that's ok though\nbecause KVM ignores it and maps everything as write-back anyway.  The\nexception to this rule is when we have an assigned device and an IOMMU\nthat doesn't promote NoSnoop transactions from that device to be cache\ncoherent.  In that case KVM trusts the guest mapping of memory as\nconfigured in the MTRR.\n\nThis patch updates kvm_get|put_msrs() so that we retrieve the actual\nvCPU MTRR settings and therefore keep CPUX86State synchronized for\nmigration.  kvm_put_msrs() is also used on vCPU reset and therefore\nallows future modificaitons of MTRR state at reset to be realized.\n\nNote that the entries array used by both functions was already\nslightly undersized for holding every possible MSR, so this patch\nincreases it beyond the 28 new entries necessary for MTRR state.\n\nSigned-off-by: Alex Williamson <alex.williamson@redhat.com>\nReviewed-by: Laszlo Ersek <lersek@redhat.com>\nCc: qemu-stable@nongnu.org\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Alex Williamson",true],["9db2efd95e13330075bff027cd682a063d725332","7469de9b95ba379e2656fa9677689657c47a7690@redhat.com","x86: Clear MTRRs on vCPU reset\n\nThe SDM specifies (June 2014 Vol3 11.11.5):\n\n    On a hardware reset, the P6 and more recent processors clear the\n    valid flags in variable-range MTRRs and clear the E flag in the\n    IA32_MTRR_DEF_TYPE MSR to disable all MTRRs. All other bits in the\n    MTRRs are undefined.\n\nWe currently do none of that, so whatever MTRR settings you had prior\nto reset is what you have after reset.  Usually this doesn't matter\nbecause KVM often ignores the guest mappings and uses write-back\nanyway.  However, if you have an assigned device and an IOMMU that\nallows NoSnoop for that device, KVM defers to the guest memory\nmappings which are now stale after reset.  The result is that OVMF\nrebooting on such a configuration takes a full minute to LZMA\ndecompress the firmware volume, a process that is nearly instant on\nthe initial boot.\n\nSigned-off-by: Alex Williamson <alex.williamson@redhat.com>\nReviewed-by: Laszlo Ersek <lersek@redhat.com>\nCc: qemu-stable@nongnu.org\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Alex Williamson",true],["5ff5efb46c4526f111e14c2247609f1c56f0f8f3","df9fd617995bad07eac70e27aa3fe5069270e3bd@redhat.com","block: Pass errp in blkconf_geometry\n\nThis allows us to pass error information to caller.\n\nReviewed-by: Andreas Färber <afaerber@suse.de>\nReviewed-by: Stefan Hajnoczi <stefanha@redhat.com>\nSigned-off-by: Fam Zheng <famz@redhat.com>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Fam Zheng",true],["a818a4b69d47ca3826dee36878074395aeac2083","df9fd617995bad07eac70e27aa3fe5069270e3bd@redhat.com","scsi-bus: Convert DeviceClass init to realize\n\nReplace \"init/destroy\" with \"realize/unrealize\" in SCSIDeviceClass,\nwhich has errp as a parameter. So all the implementations now use\nerror_setg instead of error_report for reporting error.\n\nAlso in scsi_bus_legacy_handle_cmdline, report the error when\ninitializing the if=scsi devices, before returning it, because in the\ncallee, error_report is changed to error_setg. And the callers don't\nhave the right locations (e.g. \"-drive if=scsi\").\n\nReviewed-by: Stefan Hajnoczi <stefanha@redhat.com>\nSigned-off-by: Fam Zheng <famz@redhat.com>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Fam Zheng",true],["9db693f76441e2fc7e1b05dc454e7db4d3298dcb","f437cb078acc7c6d79873462334a355eddeb9459@kamp.de","block/iscsi: fix memory corruption on iscsi resize\n\nbs->total_sectors is not yet updated at this point. resulting\nin memory corruption if the volume has grown and data is written\nto the newly availble areas.\n\nCC: qemu-stable@nongnu.org\nSigned-off-by: Peter Lieven <pl@kamp.de>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Peter Lieven",true],["f93d2c15d603b811c877efbf2a47e418bf975f0c","5d492f1ad751c8d283a077bdc6e0c58569b75b2f@huawei.com","scsi-generic: remove superfluous DPRINTF avoid to break compiling\n\nvariables lun and tag had been eliminated, break compiling\nwhen enable debug switch. Meanwhile traces provide the same\ninformation with this DPRINTF, so remove it.\n\nSigned-off-by: Gonglei <arei.gonglei@huawei.com>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Gonglei",true],["c9f6552803d852d593dec9ef5bb39b7a61091963","df9fd617995bad07eac70e27aa3fe5069270e3bd@redhat.com","virtio-scsi: Report error if num_queues is 0 or too large\n\nNo cmd vq surprises guest (Linux panics in virtscsi_probe), too many\nqueues abort qemu (in the following virtio_add_queue).\n\nSigned-off-by: Fam Zheng <famz@redhat.com>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Fam Zheng",true],["a6859deb6908261c9a9adf9cc4b8863fc0897b5c","69d3ebcf5ee4e7f05a50dc23cd96655b730804b4@redhat.com","checkpatch.pl: adjust typedef definition to QEMU coding style\n\nMost QEMU typedefs are camelcase, starting with one uppercase letter\nand containing at least one lowercase letter.  There are a few\nall-uppercase types, add the most common too.\n\nThis fixes recognition of types in lines such as\n\n    static __attribute__((unused)) inline void tcg_out8(TCGContext *s, uint8_t v)\n\n(Example provided by Peter Maydell).\n\nReported-by: Alexey Kardashevskiy <aik@ozlabs.ru>\nReviewed-by: Markus Armbruster <armbru@redhat.com>\nCc: Peter Maydell <peter.maydell@linaro.org>\nCc: Stefan Weil <sw@weilnetz.de>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Paolo Bonzini",true],["7b71758d79106a63a0b8aba02df752d9995ea50c","69d3ebcf5ee4e7f05a50dc23cd96655b730804b4@redhat.com","vl: process -object after other backend options\n\nQOM backends can refer to chardevs, but not vice versa.  So\nprocess -chardev and -fsdev options before -object\n\nThis fixes the rng-egd backend to virtio-rng.\n\nReported-by: Amos Kong <akong@redhat.com>\nCc: qemu-stable@nongnu.org\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Paolo Bonzini",true],["d2a68f3a303ce0ad10ac9bec98290c91df06eccd","843eb11336b6e35bd55f1d23652fb443c71c9ae4@ilande.co.uk","Update OpenBIOS images\n\nUpdate OpenBIOS images to SVN r1316 built from submodule.\n\nSigned-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>","Mark Cave-Ayland",true],["5bd8ff07e65d066f1e90f05d49ee634f3ccd2664","50373d7c08ceadf576dd7dca718012445b677ce6@redhat.com","target-i386: Add \"mpx\" CPU feature name\n\nMigration support for MPX is already implemented (commit\n79e9ebebbf2a00c46fcedb6dc7dd5e12bbd30216), so we can add it to the list\nof known feature names.\n\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Eduardo Habkost",true],["7b458bfd12a71b3da6b531daedc417492c9334e0","50373d7c08ceadf576dd7dca718012445b677ce6@redhat.com","target-i386: Add \"tsc_adjust\" CPU feature name\n\ntsc_adjust migration support is already implemented (commit\nf28558d3d37ad3bc4e35e8ac93f7bf81a0d5622c), so we can add it to the list\nof known feature names.\n\nSigned-off-by: Eduardo Habkost <ehabkost@redhat.com>\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>","Eduardo Habkost",true],["0265361a722f396cbdb35ecffbadb93142a6e87d","313afa09ce093b19ae1dd74f57c1ebd94508584c@linaro.org","Merge remote-tracking branch 'remotes/mcayland/qemu-openbios' into staging\n\n* remotes/mcayland/qemu-openbios:\n  Update OpenBIOS images\n\nSigned-off-by: Peter Maydell <peter.maydell@linaro.org>","Peter Maydell",true]],"size":104,"ref":"refs/heads/master","head":"988f46361465db0d4fce50e71fa0ff8f9d20483e"}