Dear Sir or Madam,
I noticed that your company provides Open
Source software, but does not appear to have training for this
software. My organization,
One Course Source, is a training development and instructional
staf
The problem reported above was the same up to and including qemu 0.15.0.
Meanwhile I found this on the LinuxFromScratch (LFS) bug tracker:
"Glibc-2.14 causes segfaults in SDL",
http://wiki.linuxfromscratch.org/lfs/ticket/2920
After applying their patch to GLIBC, qemu finally works again on the
"TusharK" writes:
> Hello,
> I tried executing QEMU (realview-smp ARM11MPCore) with Linux kernel 2.6.39.3,
> but it failed. Kernel itself is not getting decompressed. I compiled the
> kernel with realview-smp_config and build was successful. Can you please let
> me know how can test QEMU + ARM11MP
I am kind of speculating here. I could be wrong
MMU. in the kernel you can manipulate the EPT reg which is normally used by
kvm ( introduced by intel vmx, or amd svm).
IO, specifically for network packets, they do not need to go to user space,
they can be handled to the virtual machine directly.
Please note that mechlist still uses malloc / strdup / free.
Signed-off-by: Stefan Weil
---
ui/vnc-auth-sasl.c |8
ui/vnc-enc-hextile.c |4 ++--
ui/vnc-tls.c |2 +-
ui/vnc.c |8
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git
> guest isa is different from host isa in this case.
>
> Xin
>
> On Fri, Oct 7, 2011 at 12:33 PM, 陳韋任 wrote:
>
> > > I am wondering that whether there are any attempts (product-oriented or
> > > research-based ) to push QEMU into the Linux kernel to speed up emulation.
> > > If the emulation is
Am 07.10.2011 20:13, schrieb Richard Henderson:
On 10/07/2011 11:00 AM, Stefan Weil wrote:
+#define TCGReg int /* TODO: Remove this line when tcg-target.c uses
TCGReg. */
Nack. This is too ugly to live.
How hard can it be to simply change the prototype in each
of the backend files instead? Ye
On 10/07/2011 11:00 AM, Stefan Weil wrote:
> +#define TCGReg int /* TODO: Remove this line when tcg-target.c uses TCGReg.
> */
Nack. This is too ugly to live.
How hard can it be to simply change the prototype in each
of the backend files instead? Yes, full conversion to
TCGReg is desirable, bu
s390 already uses TCGReg - this patch defines TCGReg
for all other TCG targets.
The targets still don't use TCGReg, therefore a temporary define
maps 'TCGReg' to 'int' for all unfinished targets.
This define allows usage of TCGReg in tcg.c thus fixing some forward
declarations which had broken co
On 5 October 2011 10:21, Paolo Bonzini wrote:
> If interested people can test the patches more and submit them more
> formally, I'd be very glad. I wrote it for RCU, but of course that one is
> not really going to be 1.0 material (even for 9p).
Hmm this got a bit more complex than the original
> I am wondering that whether there are any attempts (product-oriented or
> research-based ) to push QEMU into the Linux kernel to speed up emulation.
> If the emulation is running in the kernel, there are some resources it can
> manipulate to speed up emulation in comparison to the when it is runn
On 29 September 2011 18:31, Mathieu Sonet wrote:
> This driver emulates the ARM AACI interface (PL041) connected to a LM4549
> codec.
> It enables audio playback for the Versatile/PB platform.
>
> Limitations:
> - Supports only a playback on one channel (Versatile/Vexpress)
> - Supports only a TX
Image streaming copies data from the backing file into the image file. It is
important to represent zero regions from the backing file efficiently during
streaming, otherwise the image file grows to the full virtual disk size and
loses sparseness.
There are two ways to implement zero write detect
The QED image format is able to efficiently represent clusters
containing zeroes with a magic offset value. This patch implements zero
write detection for allocating writes so that image streaming can copy
over zero clusters from a backing file without expanding the image file
unnecessarily.
This
Some image formats can represent zero regions efficiently even when a
backing file is present. In order to use this feature they need to
detect zero writes and handle them specially.
Since zero write detection consumes CPU cycles it is disabled by default
and must be explicitly enabled. This pat
Add a -z option to qemu-io and the 'open' command to enable zero write
detection. This is used by the qemu-iotests 029 test case and allows
scripts to exercise zero write detection.
Signed-off-by: Stefan Hajnoczi
---
qemu-io.c | 35 ---
1 files changed, 28 inse
On 2011-10-07 16:05, Wen Congyang wrote:
> 于 2011/10/7 20:56, Jan Kiszka 写道:
>> On 2011-10-07 14:25, Wen Congyang wrote:
>>> 于 2011/10/7 18:16, Jan Kiszka 写道:
On 2011-10-07 11:46, Wen Congyang wrote:
> Currently, virsh dump uses monitor command migrate to dump guest's memory
> to file,
On 10/07/2011 10:45 AM, Daniel P. Berrange wrote:
On Fri, Oct 07, 2011 at 10:40:56AM -0400, Corey Bryant wrote:
On 10/07/2011 05:04 AM, Daniel P. Berrange wrote:
On Thu, Oct 06, 2011 at 02:38:56PM -0400, Corey Bryant wrote:
On 10/06/2011 02:04 PM, Anthony Liguori wrote:
On 10/06/2011 11
On 10/07/2011 10:45 AM, Daniel P. Berrange wrote:
On Fri, Oct 07, 2011 at 10:40:56AM -0400, Corey Bryant wrote:
On 10/07/2011 05:04 AM, Daniel P. Berrange wrote:
On Thu, Oct 06, 2011 at 02:38:56PM -0400, Corey Bryant wrote:
On 10/06/2011 02:04 PM, Anthony Liguori wrote:
On 10/06/2011 11
On 10/07/2011 05:04 AM, Daniel P. Berrange wrote:
On Thu, Oct 06, 2011 at 02:38:56PM -0400, Corey Bryant wrote:
On 10/06/2011 02:04 PM, Anthony Liguori wrote:
On 10/06/2011 11:41 AM, Daniel P. Berrange wrote:
On Thu, Oct 06, 2011 at 11:38:25AM -0400, Richa Marwaha wrote:
This patch adds a
On Fri, Oct 07, 2011 at 10:40:56AM -0400, Corey Bryant wrote:
>
>
> On 10/07/2011 05:04 AM, Daniel P. Berrange wrote:
> >On Thu, Oct 06, 2011 at 02:38:56PM -0400, Corey Bryant wrote:
> >>
> >>
> >>On 10/06/2011 02:04 PM, Anthony Liguori wrote:
> >>>On 10/06/2011 11:41 AM, Daniel P. Berrange wrote
On 7 October 2011 14:59, Paolo Bonzini wrote:
> There are 508 non-indented (non-default) labels, and 511 that are
> indented. So the rule is debatable at least. Actually, in the
> common case of labels at the outermost scope, there is really just
> one place where to put the label, so the rule i
于 2011/10/7 20:56, Jan Kiszka 写道:
On 2011-10-07 14:25, Wen Congyang wrote:
于 2011/10/7 18:16, Jan Kiszka 写道:
On 2011-10-07 11:46, Wen Congyang wrote:
Currently, virsh dump uses monitor command migrate to dump guest's memory
to file, and we can use crash to analyze the file.
Unfortunately, vir
There are 508 non-indented (non-default) labels, and 511 that are
indented. So the rule is debatable at least. Actually, in the
common case of labels at the outermost scope, there is really just
one place where to put the label, so the rule is just wrong IMHO.
Signed-off-by: Paolo Bonzini
---
On 07/10/2011 14:40, Alexander Graf wrote:
> On 09/28/2011 05:54 PM, Fabien Chouteau wrote:
>> SPE instructions are defined by pairs. Currently, the invalid-bits mask is
>> set
>> for the first instruction, but the second one can have a different mask.
>>
>> example:
>> GEN_SPE(efdcmpeq,efdcfs
On 2011-10-07 14:25, Wen Congyang wrote:
> 于 2011/10/7 18:16, Jan Kiszka 写道:
>> On 2011-10-07 11:46, Wen Congyang wrote:
>>> Currently, virsh dump uses monitor command migrate to dump guest's memory
>>> to file, and we can use crash to analyze the file.
>>>
>>> Unfortunately, virsh dump can not wor
On 10/6/11, Jan Kiszka wrote:
> On 2011-10-06 03:13, liu ping fan wrote:
>> On Wed, Oct 5, 2011 at 7:01 PM, Jan Kiszka wrote:
>>> On 2011-10-05 12:26, liu ping fan wrote:
> > And make the creation of apic as part of cpu initialization, so
>> apic's state has been ready, before setting kv
On 09/28/2011 05:54 PM, Fabien Chouteau wrote:
SPE instructions are defined by pairs. Currently, the invalid-bits mask is set
for the first instruction, but the second one can have a different mask.
example:
GEN_SPE(efdcmpeq,efdcfs, 0x17, 0x0B, 0x0060, 0x0018,
PPC_SPE_DOUBLE),
I am wondering that whether there are any attempts (product-oriented or
research-based ) to push QEMU into the Linux kernel to speed up emulation.
If the emulation is running in the kernel, there are some resources it can
manipulate to speed up emulation in comparison to the when it is running as
a
于 2011/10/7 18:16, Jan Kiszka 写道:
On 2011-10-07 11:46, Wen Congyang wrote:
Currently, virsh dump uses monitor command migrate to dump guest's memory
to file, and we can use crash to analyze the file.
Unfortunately, virsh dump can not work if guest uses host pci device. The
reason is that the de
On 2011-10-07 12:27, Jan Kiszka wrote:
> Update lnkst on link state changes so that guests can obtain this
> information via reading back the LED output pin. Works for Linux but
> not for guests that depend on the missing PHY.
Strike the second sentence: The older Am79C970A that QEMU emulated
prov
On Fri, 7 Oct 2011 10:27:56 +0100, "Daniel P. Berrange"
wrote:
> On Thu, Sep 29, 2011 at 04:22:16PM +0100, Daniel P. Berrange wrote:
> > On Thu, Sep 29, 2011 at 08:23:49PM +0530, Aneesh Kumar K.V wrote:
> > > On Thu, 29 Sep 2011 11:34:21 +0100, "Daniel P. Berrange"
> > > wrote:
> > > > From: "D
This patch will make moving code on next patches and having checkpatch
happy easier.
Signed-off-by: Juan Quintela
Reviewed-by: Anthony Liguori
Signed-off-by: Juan Quintela
---
savevm.c | 21 ++---
1 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/savevm.c b/savev
This reverts commit eb60260de0b050a5e8ab725e84d377d0b44c43ae.
Conflicts:
savevm.c
We changed qemu_peek_byte() prototype, just fixed the rejects.
Signed-off-by: Juan Quintela
Reviewed-by: Anthony Liguori
Signed-off-by: Juan Quintela
---
savevm.c | 10 +-
1 files changed, 1 i
Signed-off-by: Juan Quintela
Signed-off-by: Juan Quintela
---
savevm.c | 15 ++-
1 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/savevm.c b/savevm.c
index 4069b34..94628c6 100644
--- a/savevm.c
+++ b/savevm.c
@@ -578,17 +578,14 @@ static int qemu_peek_byte(QEMUFile *f
We add qemu_peek_buffer, that is identical to qemu_get_buffer, just
that it don't update f->buf_index.
We add a paramenter to qemu_peek_byte() to be able to peek more than
one byte.
Once this is done, to see if we have a subsection we look:
- 1st byte is QEMU_VM_SUBSECTION
- 2nd byte is a length,
Hi
v3:
- fix return value on qemu_get_buffer.
Anthony, all reviewers comments are fixed, please consider to apply.
Later, Juan.
v2:
- rename "used" to "remaining" (Alex suggestion)
- implement qemu_get_{byte,buffer} on top of qemu_peek_{byte, buffer}
(Anthony suggestion)
- fix qemu_peek_buffe
We will need on next patch to be able to lookahead on next patch
v2: rename "used" to "pending" (Alex Williams)
Signed-off-by: Juan Quintela
Reviewed-by: Anthony Liguori
Signed-off-by: Juan Quintela
---
savevm.c | 14 +++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --g
Update lnkst on link state changes so that guests can obtain this
information via reading back the LED output pin. Works for Linux but
not for guests that depend on the missing PHY.
Signed-off-by: Jan Kiszka
---
hw/lance.c |1 +
hw/pcnet-pci.c |1 +
hw/pcnet.c |7 +++
hw/
On 2011-10-07 11:46, Wen Congyang wrote:
> Currently, virsh dump uses monitor command migrate to dump guest's memory
> to file, and we can use crash to analyze the file.
>
> Unfortunately, virsh dump can not work if guest uses host pci device. The
> reason is that the device's status is also neede
Hello,
i am trying to perform some memory measurements and was hoping you could
point me in the right direction:
My goal is to log every write access to physical memory, the physical
address written as well as the total amount of bytes that are written
(modified) in each access.
My first ide
Currently, virsh dump uses monitor command migrate to dump guest's memory
to file, and we can use crash to analyze the file.
Unfortunately, virsh dump can not work if guest uses host pci device. The
reason is that the device's status is also needed to migrate to remote machine,
and the host pci de
On Thu, Sep 29, 2011 at 04:22:16PM +0100, Daniel P. Berrange wrote:
> On Thu, Sep 29, 2011 at 08:23:49PM +0530, Aneesh Kumar K.V wrote:
> > On Thu, 29 Sep 2011 11:34:21 +0100, "Daniel P. Berrange"
> > wrote:
> > > From: "Daniel P. Berrange"
> > >
> > > The Linux guest kernel does not appear to
On Thu, Oct 06, 2011 at 02:38:56PM -0400, Corey Bryant wrote:
>
>
> On 10/06/2011 02:04 PM, Anthony Liguori wrote:
> >On 10/06/2011 11:41 AM, Daniel P. Berrange wrote:
> >>On Thu, Oct 06, 2011 at 11:38:25AM -0400, Richa Marwaha wrote:
> >>>This patch adds a helper that can be used to create a tap
On Thu, Oct 06, 2011 at 04:15:07PM -0500, Michael Roth wrote:
> On Thu, 6 Oct 2011 12:31:05 +0100, "Daniel P. Berrange"
> wrote:
> > I get the feeling that this kind of problem inherant in the use of any
> > virtio-serial channel, in the same way you can't detect EOF for a regular
> > serial devi
Flush does not go anymore through scsi_disk_emulate_command.
Signed-off-by: Paolo Bonzini
---
hw/scsi-disk.c |9 +++--
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c
index d6f2345..eb0c679 100644
--- a/hw/scsi-disk.c
+++ b/hw/scsi-disk.c
@@
In some cases a request may be canceled before the completion callback
runs. Keep a reference to the request between starting an AIO operation,
and let scsi_*_complete remove it.
Since scsi_handle_rw_error returns whether something else has to be done
for the request by the caller, it makes sense
The most important part is a fix for use-after-free that I found while
testing CD-ROM eject.
Paolo Bonzini (4):
scsi-disk: fail READ CAPACITY if LBA != 0 but PMI == 0
scsi-disk: do not complete requests twice
scsi-disk: bump SCSIRequest reference count until aio completion runs
scsi-disk:
Tested by the Windows Logo Kit SCSI Compliance test. From SBC-3, paragraph
5.25: "The LOGICAL BLOCK ADDRESS field shall be set to zero if the PMI
bit is set to zero. If the PMI bit is set to zero and the LOGICAL BLOCK
ADDRESS field is not set to zero, then the device server shall terminate
the comm
When scsi_handle_rw_error reports a CHECK CONDITION code, the
owner should not call scsi_req_complete.
Signed-off-by: Paolo Bonzini
---
hw/scsi-disk.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c
index 4757a02..6497655 100644
--- a/hw
As a first step towards more generic master-slave support, remove
parent_irq in favor of a per-PIC output interrupt line. The slave's
line is attached to IRQ2 of the master, but it remains unused for now.
Signed-off-by: Jan Kiszka
---
hw/i8259.c | 21 -
1 files changed, 12
Drop redundant local address variable.
Signed-off-by: Jan Kiszka
---
hw/i8259.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/hw/i8259.c b/hw/i8259.c
index 31962c0..545d723 100644
--- a/hw/i8259.c
+++ b/hw/i8259.c
@@ -385,11 +385,10 @@ static uint32_t pic_poll_read(P
As we want to move the IRQ update to pic_intack, ordering matters: the
slave ack must be executed before the master ack to avoid missing
further pending slave IRQs.
Signed-off-by: Jan Kiszka
---
hw/i8259.c | 10 ++
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/hw/i8259
Introduce a reference to the slave PIC for the few cases we need to
access it without a proper pointer at hand and drop PicState2. We could
even live without slave_pic if we had a better way of modeling the
cascade bus the PICs are attached to (in addition to the ISA bus).
Signed-off-by: Jan Kiszk
There is nothing in the i8259 spec that justifies the special
pic_intack_read. At least the Linux PREP kernels configure the PICs
properly so that pic_read_irq returns identical values, and setting
read_reg_select in PIC0 cannot be derived from any special i8259 mode.
So switch ppc_prep to pic_rea
Am 07.10.2011 09:19, schrieb Jan Kiszka:
Signed-off-by: Jan Kiszka
Reviewed-by: Andreas Färber
If you resend the series, a one-sentence description would be nice.
Andreas
---
hw/qdev-properties.c | 29 +
hw/qdev.h|3 +++
2 files changed, 32
No target-specific bits remaining, let's move it over.
Signed-off-by: Jan Kiszka
---
Makefile.objs|1 +
Makefile.target |8
default-configs/alpha-softmmu.mak|1 +
default-configs/i386-softmmu.mak |1 +
default-configs/
On 2011-10-06 19:08, Benjamin Epitech wrote:
> GNS3 team developed a GUI in order to inter-connect different emulated
> hardware. In order
> to achieve a network inter-connection between each hosts, one single
> protocol is used: an
> UDP tunneling protocol introduced by Dynamips (a cisco hardware
IsaIrqState::ioapic is always non-NULL. Probably, the concrete
qemu_irq was supposed to be tested, but that's already done by
qemu_set_irq.
Signed-off-by: Jan Kiszka
---
hw/pc.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index 203627d..a15d165
This was probably never used so far: According to the spec, polling
means ack'ing the pending IRQ and setting its corresponding bit in isr.
Moreover, we have to signal a pending IRQ via bit 7 of the returned
value, and we must not return a spurious IRQ if none is pending.
This implements the poll
This reflects how real PICs indentify their role (in non-buffered mode):
Pass the state of the /SP input on pic_init and use it instead of
pics_state to differentiate between master and slave mode.
Signed-off-by: Jan Kiszka
---
hw/i8259.c | 18 +-
1 files changed, 9 insertions(
This converts pic_update_irq to work against a single PIC instead of the
complete cascade. Along this change, the required update after
pic_set_irq1 is now moved into that function.
Signed-off-by: Jan Kiszka
---
hw/i8259.c | 59 ---
1 fil
On 30.09.2011, at 09:50, David Gibson wrote:
> Current versions of the PowerPC architecture require and fully define
> 4kB and 16MB page sizes. Other pagesizes (e.g. 64kB, 1MB) are
> permitted and are often supported, but the exact encodings used to set
> the up can vary from chip to chip.
>
>
Signed-off-by: Jan Kiszka
---
hw/pc.h |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/hw/pc.h b/hw/pc.h
index 60da282..fd5f9b2 100644
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -62,8 +62,6 @@ bool parallel_mm_init(target_phys_addr_t base, int it_shift,
qemu_irq irq,
typedef stru
The compiler is smarter in choosing the right optimization.
Signed-off-by: Jan Kiszka
---
hw/i8259.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/i8259.c b/hw/i8259.c
index 6006123..f1d58ba 100644
--- a/hw/i8259.c
+++ b/hw/i8259.c
@@ -80,7 +80,7 @@ static uint
Now that we have code in place to do refcounting of online CPUs, we
can drag the TCG code along and implement shutdown for that one too,
so it doesn't feel left out by its KVM counterpart.
Signed-off-by: Alexander Graf
---
target-s390x/cpu.h|9 +
target-s390x/helper.c | 15
If pic_poll_read finds no pending IRQ and return a spurious one instead,
no PIC state is changed, thus we do not need to call pic_update_irq.
Signed-off-by: Jan Kiszka
---
hw/i8259.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/hw/i8259.c b/hw/i8259.c
index 65123bd..c
No functional changes.
Signed-off-by: Jan Kiszka
---
hw/i8259.c | 54 ++
1 files changed, 34 insertions(+), 20 deletions(-)
diff --git a/hw/i8259.c b/hw/i8259.c
index b4e1867..ab519de 100644
--- a/hw/i8259.c
+++ b/hw/i8259.c
@@ -67,7 +67,7 @
The master PIC is connected to the LINTIN0 of the APICs. As the APIC
currently does not track the state of that line, we have to ask the PIC
to reinject its IRQ after the CPU picked up an event from the APIC.
This introduces pic_get_output to read the master PIC IRQ line state
without changing it.
The ELCR is actually part of the chipset but we model it here for
simplicity reasons. The PIIX3 clears the ELCR on reset, which was once
broken by 4dbe19e181. Fix this by splitting up pic_init_reset from
pic_reset and clearing the register in the latter.
Signed-off-by: Jan Kiszka
---
hw/i8259.c
We are about to call the latter from the former. No functional changes.
Signed-off-by: Jan Kiszka
---
hw/i8259.c | 55 +--
1 files changed, 29 insertions(+), 26 deletions(-)
diff --git a/hw/i8259.c b/hw/i8259.c
index f1d58ba..de2d5ca 100644
Taken from original qemu-kvm/kvm/scripts/vmxcap.
Signed-off-by: Jan Kiszka
---
scripts/kvm/vmxcap | 224
1 files changed, 224 insertions(+), 0 deletions(-)
create mode 100755 scripts/kvm/vmxcap
diff --git a/scripts/kvm/vmxcap b/scripts/kvm/
Taken from original qemu-kvm/kvm/kvm_stat.
Signed-off-by: Jan Kiszka
---
scripts/kvm/kvm_stat | 480 ++
1 files changed, 480 insertions(+), 0 deletions(-)
create mode 100755 scripts/kvm/kvm_stat
diff --git a/scripts/kvm/kvm_stat b/scripts/kvm/kv
On 04.10.2011, at 17:20, Christian Borntraeger wrote:
> On s390 a shutdown is the state of all CPUs being either stopped
> or disabled (for interrupts) waiting. We have to track the overall
> number of running CPUs to call the shutdown sequence accordingly.
> This patch implements the counting an
MIPS and PPC users of the i8259 output signal expect us to report state
updates also after reset. As no consumer (including the master PIC) can
misinterpret the deassert as an activation event, it is safe to simply
update the IRQ state after reset.
Signed-off-by: Jan Kiszka
---
hw/i8259.c |3
This key cleanup step requires to move the IRQ debugging bit from
i8259_set_irq directly to the per-PIC pic_set_irq, to pass the PIC
parameters (I/O base, ELCR address and mask, master/slave mode) as
qdev properties, and to interconnect the PICs with their environment via
GPIO pins.
Signed-off-by:
Signed-off-by: Jan Kiszka
---
hw/qdev-properties.c | 29 +
hw/qdev.h|3 +++
2 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/hw/qdev-properties.c b/hw/qdev-properties.c
index e0e54aa..f0b811c 100644
--- a/hw/qdev-properties.c
+++ b/hw/q
Signed-off-by: Jan Kiszka
Acked-by: Blue Swirl
---
hw/an5206.c | 10 --
hw/arm_pic.c| 11 ---
hw/cris_pic_cpu.c |6 --
hw/etraxfs.h|1 +
hw/lm32_pic.c |4 ++--
hw/lm32_pic.h |3 +++
hw/microblaz
The ISA bus IRQ range is 0..15. What isa_irq_handler and IsaIrqState are
actually dealing with are the Global System Interrupts. Refactor the
code to clarify this.
Signed-off-by: Jan Kiszka
---
hw/ioapic.h |7 +++
hw/isa.h |2 ++
hw/pc.c | 18 +-
hw/pc.h
Highlights of this series:
- generic i8259, now part of hwlib
- qdev conversion of i8259
- fix for i8259 poll mode (and removal of PREP hack)
The refactoring will also be important to instantiate i8259-kvm devices
for in-kernel irqchip acceleration one day.
Changes in v2:
- kept PIC irq state
Will be required when we no longer let i8259_init allocate the PIC IRQs
but convert that chips to qdev.
Signed-off-by: Jan Kiszka
---
hw/pc.h |2 +-
hw/pc_piix.c |4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/pc.h b/hw/pc.h
index 4333898..2870be4 100644
-
On 30.09.2011, at 09:39, David Gibson wrote:
> Alex Graf has added support for KVM acceleration of the pseries
> machine, using his Book3S-PR KVM variant, which runs the guest in
> userspace, emulating supervisor operations. Recent kernels now have
> the Book3S-HV KVM variant which uses the hard
Still needed but was accidentally removed by 8bc62bc6be.
Signed-off-by: Jan Kiszka
---
As the guilty patch is only in next so far, you may also fold this one
in.
hw/pc.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index a616029..70e0d08 100644
83 matches
Mail list logo