On Jan07 14:11, Marcel Apfelbaum wrote:
After 'Machine as QOM' series the machine type input triggers
the creation of the machine class.
If the machine type is set in the configuration file, the machine
class is not updated accordingly and remains the default.
I have also tested it; it does
On 07/01/2015 12:03, Marcel Apfelbaum wrote:
While I agree it will be better if we place this in instance_init,
setting the machine_usb to defaults_enabled() there would be problematic
since it depends on
- papr_vga_init(phb-bus) for sparpr and
That's effectively vga_interface_type ==
On 06/01/2015 10:52, Peter Maydell wrote:
On 6 January 2015 at 02:24, sfel...@gmail.com wrote:
From: Scott Feldman sfel...@gmail.com
The rocker device uses same PCI device ID as sdhci. Since rocker device
driver
has already been accepted into Linux 3.18, and REDHAT_SDHCI device ID isn't
On 06/01/2015 18:48, Peter Wu wrote:
v2: split block type check into a different patch ([PATCH v2 10/12]
block/dmg: factor out block type check).
Add BZIP2_LIBS instead of polluting libs_softmmu with -lbz2 (which
would also end up in fsdev/virtfs-proxy-helper).
Fix unused
On 06/01/2015 22:33, G 3 wrote:
00:01.0 VGA compatible controller: Technical Corp. Device (rev
02) (prog-if 00 [VGA controller])
Subsystem: Qumranet, Inc. Device 1100
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
Memory and CPU hot unplug are both asynchronize procedures.
When the unplug operation happens, unplug request cb is called first.
And when ghest OS finished handling unplug, unplug cb will be called
to do the real removal of device.
This patch adds hotunplug cb for pc machine, and memory and CPU
On Tue, Jan 06, 2015 at 11:44:34AM +0200, Catalin Vasile wrote:
I'm new to qemu-devel and I'm trying to add a .c source to qemu.
To be more specific, I'm trying to add a file into qemu src/hw/virtio/.
I've added common-obj-y += virtio-src.o to the Makefile.objs in that
folder
and when I'm
On Wed, Jan 07, 2015 at 11:52:40AM +0100, Paolo Bonzini wrote:
Maybe it's too optimistic. That's why I'm saying do not trim the tables
for a couple releases more.
I think it is too optimistic, and not trimming the tables does not
solve it convincingly enough to my taste.
If you have a bug,
The monitor's auto-completion feature stopped working when stdio is used
as an input and qemu was resumed after it was suspended (using ctrl-z).
Signed-off-by: Gal Hammer gham...@redhat.com
---
V2 - restore old echo state rather than alway disable it.
- don't check signal identifier in the
On 05/01/2015 13:23, Amit Shah wrote:
I modeled this based on how i440fx works, so there's also the case for
keeping things similar to an existing implementation...
Yes, I agree.
Paolo
On Tue, Jan 06, 2015 at 08:45:44AM -0800, Scott Feldman wrote:
On Tue, Jan 6, 2015 at 7:12 AM, Stefan Hajnoczi stefa...@gmail.com wrote:
On Mon, Jan 05, 2015 at 06:24:58PM -0800, sfel...@gmail.com wrote:
From: Scott Feldman sfel...@gmail.com
Rocker is a simulated ethernet switch device.
On Wed, Jan 07, 2015 at 08:18:02AM +0100, Paolo Bonzini wrote:
On 24/12/2014 12:51, Michael S. Tsirkin wrote:
+/* On-device RAM allocated with g_malloc: supports realloc,
+ * not accessible to vcpu on kvm.
+ */
Is this still true?
Paolo
No! Will drop.
On 24/12/2014 12:51, Michael S. Tsirkin wrote:
simple wrapper so callers don't need to know about
dirty bitmap clients.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
include/exec/ram_addr.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/exec/ram_addr.h
On Tue, Jan 06, 2015 at 09:12:53PM -, timsoft wrote:
output as requested from the guest:
ip addr
1: lo: LOOPBACK,UP,LOWER_UP mtu 65536 qdisc noqueue state UNKOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever
Memory and CPU hot unplug are both asynchronize procedures.
When the unplug operation happens, unplug request cb is called first.
And when ghest OS finished handling unplug, unplug cb will be called
to do the real removal of device.
This patch adds hotunplug cb for piix4, and memory and CPU
hot
On 01/07/2015 01:35 PM, Paolo Bonzini wrote:
On 07/01/2015 12:34, Marcel Apfelbaum wrote:
After 'Machine as QOM' series the machine type input triggers
the creation of the machine class.
If the machine type is set in the configuration file, the machine
class is not updated accordingly and
On 07/01/2015 12:15, Alexander Graf wrote:
On 07.01.15 12:07, Paolo Bonzini wrote:
On 07/01/2015 12:03, Marcel Apfelbaum wrote:
While I agree it will be better if we place this in instance_init,
setting the machine_usb to defaults_enabled() there would be problematic
since it depends
On 01/07/2015 01:34 PM, Marcel Apfelbaum wrote:
After 'Machine as QOM' series the machine type input triggers
the creation of the machine class.
If the machine type is set in the configuration file, the machine
class is not updated accordingly and remains the default.
Fixed that by querying the
Hi Peter,
On 01/06/2015 07:40 PM, Peter Maydell wrote:
On 5 January 2015 at 16:14, Eric Auger eric.au...@linaro.org wrote:
This new C module will be used by ARM machine files to generate
platform bus node and their dynamic sysbus device tree nodes.
Dynamic sysbus device node addition is done
On 07/01/2015 13:37, Michael S. Tsirkin wrote:
On Wed, Jan 07, 2015 at 11:52:40AM +0100, Paolo Bonzini wrote:
Maybe it's too optimistic. That's why I'm saying do not trim the tables
for a couple releases more.
I think it is too optimistic, and not trimming the tables does not
solve it
On 7 January 2015 at 06:13, Paolo Bonzini pbonz...@redhat.com wrote:
On 25/11/2014 15:17, Peter Maydell wrote:
Questions for review:
* can we do the git cherry-pick thing I mention above?
I'm afraid that would double the size of the repository (in terms of
number of commits).
One
On Tue, Jan 06, 2015 at 03:29:11PM +0200, Marcel Apfelbaum wrote:
Patch e79d5a6 (machine: remove qemu_machine_opts global list) removed option
descriptions from the -machine QemuOptsList to avoid repeating MachineState's
QOM properties.
This resulted in a Qemu crash:
$ qemu-system-x86_64
Hi Alexander, happy new year!
On 06.01.2015 17:03, Alexander Graf wrote:
Linux implements a nice binding to describe a generic PCI Express host
bridge
using only device tree.
This patch set adds enough emulation logic to expose the parts that are
generic as a simple sysbus device and maps
Memory and CPU hot unplug are both asynchronize procedures.
They both need unplug request cb when the unplug operation happens.
This patch adds hotunplug request cb for ich9, and memory and CPU
hot unplug will base on it.
---
hw/acpi/ich9.c | 7 +++
hw/isa/lpc_ich9.c | 5 +++--
Memory and CPU hot unplug are both asynchronize procedures.
When the unplug operation happens, unplug request cb is called first.
And when ghest OS finished handling unplug, unplug cb will be called
to do the real removal of device.
They both need pc-machine, piix4 and ich9 unplug and unplug
On 07/01/2015 09:38, Gal Hammer wrote:
The monitor's auto-completion feature stopped working when stdio is used
as an input and qemu was resumed after it was suspended (using ctrl-z).
Signed-off-by: Gal Hammer gham...@redhat.com
Looks good, thanks Peter for reviewing v1.
Paolo
---
V2 -
On Wednesday 07 January 2015 13:19:34 Stefan Hajnoczi wrote:
On Tue, Jan 06, 2015 at 06:48:04PM +0100, Peter Wu wrote:
DMG files have a variable length with a UDIF trailer at the end of a
file. This UDIF trailer is essential as it describes the contents of
the image. At the moment however,
On 07.01.2015 15:07, Alexander Graf wrote:
Am 07.01.2015 um 14:52 schrieb Claudio Fontana claudio.font...@huawei.com:
Hi Alexander, happy new year!
On 06.01.2015 17:03, Alexander Graf wrote:
Linux implements a nice binding to describe a generic PCI Express host
bridge
using only
On 29.12.14 11:25, Amit Tomar wrote:
Changes since v1:
* Move it to GPL v2+
* Replace the printf with DPRINTF
* Fix the coding style issues
* Change the subject line
This patch adds an emulation model for i2c controller found on most of the
FSL SoCs.
It also
Hi,
However, you should specify it whatever the host endianness and the host
OS is. If this is not the case, you're just exchanging a bug with another.
If something
a) works with Linux host but not with Mac OS X host
b) and works with Linux guest but not with Mac OS X guest
the
After 'Machine as QOM' series the machine type input triggers
the creation of the machine class.
If the machine type is set in the configuration file, the machine
class is not updated accordingly and remains the default.
Fixed that by querying the machine options after the configuration
file is
Dear All,
Recently, I would try to compile qemu to a so in order to call qemu internal
functions in my program, I'm trying to do this by
steps,
1. Add rules in qemu-2.1.2/ rules.mak
%.so:
$(call quiet-command,rm -f $@ $(LINKPROG) $(QEMU_INCLUDES) $(QEMU_CFLAGS)
On 07/01/2015 11:03, Michael S. Tsirkin wrote:
On Wed, Jan 07, 2015 at 08:33:07AM +0100, Paolo Bonzini wrote:
On 24/12/2014 13:41, Michael S. Tsirkin wrote:
I don't think these are necessary, and I thought these were just RFC
when they were posted. I and mst didn't really understand each
On 24/12/2014 12:51, Michael S. Tsirkin wrote:
+/* On-device RAM allocated with g_malloc: supports realloc,
+ * not accessible to vcpu on kvm.
+ */
Is this still true?
Paolo
On Thu, Sep 11, 2014 at 01:14:00PM +0800, Fam Zheng wrote:
Like BLOCK_OP_TYPE_BACKUP_SOURCE and BLOCK_OP_TYPE_BACKUP_TARGET,
block-commit involves two asymmetric devices.
This change is not user-visible (yet), because commit only works with
device names.
But once we enable backing
On 07.01.15 12:07, Paolo Bonzini wrote:
On 07/01/2015 12:03, Marcel Apfelbaum wrote:
While I agree it will be better if we place this in instance_init,
setting the machine_usb to defaults_enabled() there would be problematic
since it depends on
- papr_vga_init(phb-bus) for sparpr and
On Tue, Jan 06, 2015 at 06:48:04PM +0100, Peter Wu wrote:
DMG files have a variable length with a UDIF trailer at the end of a
file. This UDIF trailer is essential as it describes the contents of
the image. At the moment however, the start of this trailer is almost
always incorrect as
On 05/01/2015 20:32, John Snow wrote:
fi
##
+# bzip2 check
+
+if test $bzip2 != no ; then
+cat $TMPC EOF
+#include bzlib.h
+int main(void) { BZ2_bzlibVersion(); return 0; }
+EOF
+if compile_prog -lbz2 ; then
+
On Wed, Nov 12, 2014 at 04:01:38PM -, Francis Deslauriers wrote:
When running configure with the --enable-trace-backends=ust option and
compiling.
The user should not have to specify a the events and file options because
they are not used with that tracing framework.
Right now, in
On 24/12/2014 13:41, Michael S. Tsirkin wrote:
I don't think these are necessary, and I thought these were just RFC
when they were posted. I and mst didn't really understand each other,
and I take the fault for not reviewing the submission; however, Peter,
please hold these for a little
Ping
Patches here:
http://patchwork.ozlabs.org/patch/424738/
Description:
In multi-core guest, set irq affinity will eventually lead to guest crash, this
is a
severe BUG, I do not know why this patch was ignored?
Wenshuang Ma
Move some CPU initialization code from machine init function to
CPU realizefn so that it can be used from CPU hotplug path too.
With the inclusion of ppc.h in translate_init.c, explicit *irq_init()
function definitions aren't required, remove them.
Signed-off-by: Bharata B Rao
Make use of pc-dimm infrastructure to support memory hotplug
for PowerPC.
Modelled on i386 memory hotplug.
Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com
---
hw/ppc/spapr.c| 107 +-
hw/ppc/spapr_events.c | 3 ++
2 files changed,
This patchset enables CPU and memory hotplug support for PowerPC guests.
Changes in this patchset (v1):
- Based on top of Michael Roth's tree
(https://github.com/mdroth/qemu/commits/spapr-hotplug-core) which serves
as base for his PCI hotplug patches too.
- Switched to device_add/del
PowerPC kernel adds or removes CPUs in core granularity and hence
onlines/offlines all the SMT threads of a core during hot plug/unplug.
Support this notion by starting all SMT threads of a core when a core
is hotplugged.
Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com
---
hw/ppc/spapr.c
Test behaviour of timers and interrupts related to timeouts.
Signed-off-by: Frediano Ziglio fredd...@gmail.com
---
tests/Makefile | 2 +-
tests/rtl8139-test.c | 180 +++
2 files changed, 181 insertions(+), 1 deletion(-)
This patch was
Hi All,
During building this so library, I found that there are many functions with
same name in stubs and other source file, for example,
There are two implement functions with same name slirp_pollfds_fill in slirp.c
and main-loop.c.
./stubs/slirp.c:void slirp_pollfds_fill(GArray
Parse ibm,architecture.vec table obtained from the guest and enable
memory node configuration via ibm,dynamic-reconfiguration-memory if guest
supports it. This is in preparation to support memory hotplug for
sPAPR guests.
This changes the way memory node configuration is done. Currently all
Support hot removal of CPU for sPAPR guests.
Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com
---
hw/ppc/spapr.c | 43 +++
1 file changed, 43 insertions(+)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 4347471..ec793b1 100644
---
Add support for ibm,lrdr-capacity since this is needed by the guest
kernel to know about the possible hot-pluggable CPUs and Memory.
Define minimum hotpluggable memory size as 256MB and start storing maximum
possible memory for the guest in sPAPREnvironment.
Signed-off-by: Bharata B Rao
From: Michael Roth mdr...@linux.vnet.ibm.com
Introduce an sPAPRMachineClass sub-class of MachineClass to
handle sPAPR-specific machine configuration properties.
The 'dr_phb[cpu,lmb]_enabled' field of that class can be set as
part of machine-specific init code, and is then propagated
to
Initialize a hotplug memory region under which all the hotplugged
memory is accommodated. Also enable memory hotplug by setting
CONFIG_MEM_HOTPLUG.
Modelled on i386 memory hotplug.
Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com
---
default-configs/ppc64-softmmu.mak | 1 +
Use max_cpus instead of smp_cpus when intializating xics system. Also
report max_cpus in ibm,interrupt-server-ranges device tree property of
interrupt controller node.
Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com
---
hw/ppc/spapr.c | 4 ++--
1 file changed, 2 insertions(+), 2
Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com
---
target-ppc/translate_init.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index cf9d8d3..cda706b 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
On Wed, 7 Jan 2015 21:08:21 +0200
Michael S. Tsirkin m...@redhat.com wrote:
On Wed, Jan 07, 2015 at 05:13:32PM +0100, Cornelia Huck wrote:
On Tue, 30 Dec 2014 14:25:37 +0200
Michael S. Tsirkin m...@redhat.com wrote:
On Thu, Dec 11, 2014 at 02:25:15PM +0100, Cornelia Huck wrote:
Advertise CPU DR-capability to the guest via device tree.
Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
[spapr_drc_reset implementation]
---
hw/ppc/spapr.c | 28
1 file changed, 28
Support CPU hotplug via device-add command. Use the exising EPOW event
infrastructure to send CPU hotplug notification to the guest.
Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com
---
hw/ppc/spapr.c | 205 +++-
hw/ppc/spapr_events.c
From: Gu Zheng guz.f...@cn.fujitsu.com
Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com
Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com
(added spapr bits)
---
cpus.c | 44
hw/ppc/spapr.c | 14 -
Does anyone know what the flags variable means in the DisplaySurface structure
located in console.h?
struct DisplaySurface {
pixman_format_code_t format;
pixman_image_t *image;
uint8_t flags;
};
Test behaviour of timers and interrupts related to timeouts.
Signed-off-by: Frediano Ziglio fredd...@gmail.com
---
tests/Makefile | 2 +-
tests/rtl8139-test.c | 164 +++
2 files changed, 165 insertions(+), 1 deletion(-)
This patch was
When disabling MSI/X interrupts the disable functions will leave the
device in INTx mode (when available). This matches how hardware
operates, INTx is enabled unless MSI/X is enabled (DisINTx is handled
separately). Therefore when we really want to disable all interrupts,
such as when removing
On 01/07/15 12:23, Alex Williamson wrote:
We use an unsigned int when working with the PCI BAR size, which can
obviously overflow if the BAR is 4GB or larger. This needs to change
to a fixed length uint64_t. A similar issue is possible, though even
more unlikely, when mapping the region
Replace string slot in acpi_memory_plug_cb() with MACRO PC_DIMM_SLOT_PROP.
Signed-off-by: Tang Chen tangc...@cn.fujitsu.com
---
hw/acpi/memory_hotplug.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/acpi/memory_hotplug.c b/hw/acpi/memory_hotplug.c
index
Memory hot unplug are both asynchronize procedures.
When the unplug operation happens, unplug request cb is called first.
And when ghest OS finished handling unplug, unplug cb will be called
to do the real removal of device.
This patch-set is based on QEmu 2.2
This series depends on the
Memory hot unplug are both asynchronize procedures.
When the unplug operation happens, unplug request cb is called first.
And when ghest OS finished handling unplug, unplug cb will be called
to do the real removal of device.
This patch adds unplug request cb for memory device. Add a new bool
Call memory unplug request cb in ich9_pm_device_unplug_request_cb().
---
hw/acpi/ich9.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c
index c48d176..841f57d 100644
--- a/hw/acpi/ich9.c
+++ b/hw/acpi/ich9.c
@@ -304,8 +304,14 @@ void
Add a new API named acpi_memory_get_slot_status_descriptor() to obtain
a single memory slot status. Doing this is because this procedure will
be used by other functions in the next coming patches.
Signed-off-by: Tang Chen tangc...@cn.fujitsu.com
---
hw/acpi/memory_hotplug.c | 27
Implement unplug cb for pc-dimm. It remove the corresponding
memory region, and unregister vmstat. At last, it calls memory
unplug cb to reset memory status and do unparenting.
---
hw/i386/pc.c | 25 +++--
1 file changed, 23 insertions(+), 2 deletions(-)
diff --git
Implement memory unplug request cb for pc-dimm, and call it in
pc_machine_device_unplug_request_cb().
---
hw/i386/pc.c | 28 ++--
1 file changed, 26 insertions(+), 2 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 0f3b1e0..f501f1f 100644
--- a/hw/i386/pc.c
+++
From: Hu Tao hu...@cn.fujitsu.com
Call memory unplug request cb in piix4_device_unplug_request_cb().
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
Signed-off-by: Tang Chen tangc...@cn.fujitsu.com
---
hw/acpi/piix4.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git
Add a new API named acpi_memory_hotplug_sci() to send memory hotplug SCI.
Doing this is because this procedure will be used by other functions in the
next coming patches.
Signed-off-by: Tang Chen tangc...@cn.fujitsu.com
---
hw/acpi/memory_hotplug.c | 12
1 file changed, 8
Call memory unplug cb in ich9_pm_device_unplug_cb().
---
hw/acpi/ich9.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c
index 841f57d..0a8e757 100644
--- a/hw/acpi/ich9.c
+++ b/hw/acpi/ich9.c
@@ -317,8 +317,14 @@ void
This patch adds a new bit to memory hotplug IO port indicating that
ej0 has been evaluated by guest OS. And call pc-dimm unplug cb to do
the real removal.
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
Signed-off-by: Tang Chen tangc...@cn.fujitsu.com
---
docs/specs/acpi_mem_hotplug.txt | 8
From: Hu Tao hu...@cn.fujitsu.com
This patch implements MEMORY_SLOT_EJECT_METHOD according to ACPI spec.
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
Signed-off-by: Tang Chen tangc...@cn.fujitsu.com
---
hw/i386/acpi-dsdt-mem-hotplug.dsl | 11 ++-
hw/i386/ssdt-mem.dsl | 5
Call memory unplug cb in piix4_device_unplug_cb().
---
hw/acpi/piix4.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/hw/acpi/piix4.c b/hw/acpi/piix4.c
index f809c3a..4ae4867 100644
--- a/hw/acpi/piix4.c
+++ b/hw/acpi/piix4.c
@@ -377,8 +377,16 @@ static void
Reset all memory status, and unparent the memory device.
---
hw/acpi/memory_hotplug.c | 16
include/hw/acpi/memory_hotplug.h | 2 ++
2 files changed, 18 insertions(+)
diff --git a/hw/acpi/memory_hotplug.c b/hw/acpi/memory_hotplug.c
index 3d8e398..2b0c8ca 100644
---
Quoting Stefan Hajnoczi (2015-01-06 05:49:11)
On Mon, Jan 05, 2015 at 05:12:10PM +0400, Andrey Korolyov wrote:
On Fri, Jan 2, 2015 at 4:04 PM, Stefan Hajnoczi stefa...@gmail.com wrote:
On Thu, Dec 18, 2014 at 07:38:59PM +0400, Andrey Korolyov wrote:
2.1-stable is currently crashing with
This is v3 of the patchset.
Changes since v2:
- Address Paolo's comments: drop an unused function, fix up
comment.
Changes since v1:
- Any RAM can now be resizeable - there's no requirement
that it's device RAM any longer.
- For simplicity, max_size RAM is always
On 7 January 2015 at 18:02, Stefan Weil s...@weilnetz.de wrote:
Hello,
this patch which is part of QEMU for more than a year now needs to be fixed
for builds on Mac OS X:
I just saw that the Mac's native linker ld does not support --verbose, but
shows a warning.
Cosmetically ugly, but not
On Wed, Jan 7, 2015 at 2:55 AM, Paolo Bonzini pbonz...@redhat.com wrote:
On 07/01/2015 11:39, Peter Maydell wrote:
Within the virt team, we have always considered the authoritative source
to be qemu.git and Gerd to be the maintainer. Jiri is a Red Hatter but
not in the virt team, hence
Add API to allocate resizeable RAM.
This looks just like regular RAM generally, but
has a special property that only a portion of it
(used_length) is actually used, and migrated.
This used_length size can change across reboots.
Follow up patches will change used_length for such blocks at
This patch allows us to distinguish between two
length values for each block:
max_length - length of memory block that was allocated
used_length - length of block used by QEMU/guest
Currently, we set used_length - max_length, unconditionally.
Follow-up patches allow used_length =
If block used_length does not match, try to resize it.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
arch_init.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 106f46e..cfedbf0 100644
--- a/arch_init.c
+++ b/arch_init.c
On 07/01/2015 20:48, Michael S. Tsirkin wrote:
This is v3 of the patchset.
Changes since v2:
- Address Paolo's comments: drop an unused function, fix up
comment.
Changes since v1:
- Any RAM can now be resizeable - there's no requirement
that it's device RAM any
Make cpu_physical_memory_set/clear_dirty_range
behave symmetrically.
To clear range for a given client type only, add
cpu_physical_memory_clear_dirty_range_type.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
include/exec/ram_addr.h | 15 ---
exec.c | 2 +-
Add API to change MR size.
Will be used internally for RAM resize.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
include/exec/memory.h | 10 ++
memory.c | 16
2 files changed, 26 insertions(+)
diff --git a/include/exec/memory.h
Use resizeable ram API so we can painlessly extend ROMs in the
future. Note: migration is not affected, as we are
not actually changing the used length for RAM, which
is the part that's migrated.
Use this in acpi: reserve x16 more RAM space.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
Document that when using qemu_ram_resize for anything mapped into guest
address space, it's the job of the resize function to update guest
visible state.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
exec.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/exec.c b/exec.c
index
Add API to allocate resizeable RAM MR.
This looks just like regular RAM generally, but
has a special property that only a portion of it
(used_length) is actually used, and migrated.
This used_length size can change across reboots.
Follow up patches will change used_length for such blocks at
On Tue, Dec 16, 2014 at 10:04:38AM +0800, Fam Zheng wrote:
On Thu, 12/04 11:43, Fam Zheng wrote:
v2: Emulate nanoseconds precison of timeout with ppoll and timerfd.
Their performance is on par with each other, but both much better than
qemu.git:
syscall high # of fd
From: Tom Musta tommu...@gmail.com
The Power8 processor implements the Transactional Memory Facility
as defined in Power ISA 2.07. Update the initialization code to
indicate this.
Signed-off-by: Tom Musta tommu...@gmail.com
Signed-off-by: Alexander Graf ag...@suse.de
---
From: Tom Musta tommu...@gmail.com
The Power ISA square root instructions (fsqrt[s], frsqrte[s]) must
set the FPSCR[VXSQRT] flag when operating on a negative value.
However, NaNs have no sign and therefore this flag should not
be set when operating on one.
Change the order of the checks in the
From: Tom Musta tommu...@gmail.com
Add a degenerate implementation of the Transaction Check (tcheck)
instruction. Since transaction always immediately fail, this
implementation simply sets CR[BF] to 0b1000, i.e. TDOOMED = 1
and MSR[TS] == 0.
Signed-off-by: Tom Musta tommu...@gmail.com
From: Paolo Bonzini pbonz...@redhat.com
Use the external qemu-timer API instead.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Alexander Graf ag...@suse.de
---
hw/ppc/ppc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ppc/ppc.c b/hw/ppc/ppc.c
From: Peter Maydell peter.mayd...@linaro.org
The functions SR() and gen_sync_exception() are only used in softmmu
configs; wrap them in #ifndef CONFIG_USER_ONLY to suppress clang warnings
on the linux-user builds.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Alexander
From: Cédric Le Goater c...@fr.ibm.com
Currently, when the page tables are saved, the kvm_get_htab_header structs
and the ptes are assumed being big endian and dumped as a indistinct blob
in the statefile. This is no longer true when the host is little endian
and this breaks restoration.
This
From: Marcel Apfelbaum mar...@redhat.com
Signed-off-by: Marcel Apfelbaum mar...@redhat.com
Reviewed-by: Stefan Hajnoczi stefa...@redhat.com
Reviewed-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Alexander Graf ag...@suse.de
---
hw/ppc/mac_newworld.c | 4 ++--
1 file changed, 2
From: Marcel Apfelbaum mar...@redhat.com
Signed-off-by: Marcel Apfelbaum mar...@redhat.com
Reviewed-by: Stefan Hajnoczi stefa...@redhat.com
Reviewed-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Alexander Graf ag...@suse.de
---
hw/ppc/mac_newworld.c | 29 +++--
1
From: Tom Musta tommu...@gmail.com
The set_fprf argument to the helper_compute_fprf helper function
is no longer necessary -- the helper is only invoked when FPSCR[FPRF]
is going to be set.
Eliminate the unnecessary argument from the function signature and
its corresponding implementation.
From: David Gibson da...@gibson.dropbear.id.au
spapr_tce_table_finalize() can SEGV if the object was not previously
realized. In particular this can be triggered by running
qemu-system-ppc -device spapr-tce-table,?
The basic problem is that we have mismatched initialization versus
1 - 100 of 219 matches
Mail list logo