On 14.10.2012 09:01, yue-kvm wrote:
> what is the defferences between /usr/libexec/qemu-kvm and
> /usr/bin/qemu-system-x86_64?
> my OS is centos6.2, qemu-kvm is from a rpm package, while
> qemu-system-x86_64 is builded manually from source code.
> 1.
> if i can recognize they are the same th
on 11/10/2012 00:09 malc said the following:
> On Thu, 11 Oct 2012, Andriy Gapon wrote:
>
>> on 08/10/2012 12:02 Andriy Gapon said the following:
>>> on 08/10/2012 10:52 malc said the following:
On Mon, 8 Oct 2012, Andriy Gapon wrote:
>
> I am running Qemu (plain, no kvm, etc) on
On Sun, 14 Oct 2012, Andriy Gapon wrote:
[..snip..]
>
> Hmm... Since you are the author of the patch, wouldn't be more
> appropriate for you to submit it? Besides, I can only mostly repeat the
> bug report as I do not quite understand the code and can not properly
> describe what the patch do
on 14/10/2012 13:56 malc said the following:
> On Sun, 14 Oct 2012, Andriy Gapon wrote:
>
> [..snip..]
>
>>
>> Hmm... Since you are the author of the patch, wouldn't be more
>> appropriate for you to submit it? Besides, I can only mostly repeat the
>> bug report as I do not quite understand th
qemu_opts_print has no user now, so I re-write it and use it in
qemu-img.c.
qemu_opts_print will be used while using "qemu-img create", it will
produce the same output as previous code.
Signed-off-by: Dong Xu Wang
---
qemu-option.c | 41 -
qemu-option.h
Signed-off-by: Dong Xu Wang
---
qemu-option.c | 24
qemu-option.h |1 +
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/qemu-option.c b/qemu-option.c
index d7d5ea9..eeb2c9c 100644
--- a/qemu-option.c
+++ b/qemu-option.c
@@ -695,6 +695,30 @@ int qemu_
It will set opt->str in qemu_opt_set_bool, without opt->str, there
will be some potential bugs.
These are uses of opt->str, and what happens when it isn't set:
* qemu_opt_get(): returns NULL, which means "not set". Bug can bite
when value isn't the default value.
* qemu_opt_parse(): passes NU
Signed-off-by: Dong Xu Wang
---
qemu-option.c | 285 -
qemu-option.h | 32 ---
2 files changed, 0 insertions(+), 317 deletions(-)
diff --git a/qemu-option.c b/qemu-option.c
index c391f7d..cc34a68 100644
--- a/qemu-option.c
+++ b/qemu
Patch 1-3 are from Luiz, added Markus's comments, discussion could be found
here:
http://lists.nongnu.org/archive/html/qemu-devel/2012-07/msg02716.html
Patch 2 and 3 are changed according Paolo's comments.
Patch 4-5: because qemu_opts_create can not fail while id is null, so create
function qemu_
When calling QTAILQ_REMOVE or QLIST_REMOVE on an unitialized list
QEMU segfaults.
Check for this case specifically on item removal.
Signed-off-by: Tim Hardeck
---
qemu-queue.h |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/qemu-queue.h b/qemu-queue.h
index 9288cd
While trying to adapt Anthony Liguori's websockets patches to the current
standard I ran into some segfaults.
They were triggered during disconnects due to failed VNC handshakes.
I have added checks to prevent them.
Tim Hardeck (2):
vnc: fix segfault due to failed handshake
qemu queue: fix
When the VNC server disconnects due to a failed handshake we don't have
vs->bh allocated yet.
Check for this case and don't delete it.
Signed-off-by: Tim Hardeck
---
ui/vnc.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ui/vnc.c b/ui/vnc.c
index 01b2daf..656895a 100
Use the new LOG_UNIMP and LOG_GUEST_ERROR logging types rather
than hw_error().
Signed-off-by: Peter Maydell
---
hw/pl011.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/hw/pl011.c b/hw/pl011.c
index 3245702..743eea6 100644
--- a/hw/pl011.c
+++ b/hw/pl011.c
@@
Use LOG_UNIMP and LOG_GUEST_ERROR where appropriate rather
than hw_error().
Signed-off-by: Peter Maydell
---
hw/pl022.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/hw/pl022.c b/hw/pl022.c
index 60e35da..91e5df0 100644
--- a/hw/pl022.c
+++ b/hw/pl022.c
@@ -9,6 +9,
If the guest attempts an offset to a nonexistent register, just
log this via LOG_GUEST_ERROR rather than killing QEMU with a hw_error.
Signed-off-by: Peter Maydell
---
hw/pl190.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/pl190.c b/hw/pl190.c
index 7332f4d..e8b
Rather than a mix of direct printing to stderr and aborting
via hw_error(), use LOG_UNIMP and LOG_GUEST_ERROR.
Signed-off-by: Peter Maydell
---
hw/pl181.c | 19 +++
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/hw/pl181.c b/hw/pl181.c
index 7d91fbb..23fc063 10064
This patch series introduces a new logging category to
qemu_log_mask(), for reporting situations which the device
model can cope with but which indicate bugs in the guest.
The most common cause of these is "guest tried to access
a register which doesn't exist". At the moment device models
use an in
Use the new LOG_UNIMP tracing to report unimplemented
features.
Signed-off-by: Peter Maydell
---
hw/pl041.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/pl041.c b/hw/pl041.c
index b6723be..260c560 100644
--- a/hw/pl041.c
+++ b/hw/pl041.c
@@ -21,6 +21,7 @@
*/
Use LOG_GUEST_ERROR rather than hw_error or direct fprintf.
Signed-off-by: Peter Maydell
---
hw/pl031.c | 17 +++--
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/hw/pl031.c b/hw/pl031.c
index 9602664..a718d2e 100644
--- a/hw/pl031.c
+++ b/hw/pl031.c
@@ -14,6 +14,7 @@
This patch will create 4 functions, count_opts_list, append_opts_list,
free_opts_list and print_opts_list, they will used in following commits.
Signed-off-by: Dong Xu Wang
---
qemu-option.c | 87 +
qemu-option.h |5 ++-
2 files change
Use opts_accepts_any() and find_desc_by_name().
Signed-off-by: Luiz Capitulino
Signed-off-by: Dong Xu Wang
---
qemu-option.c | 14 +++---
1 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/qemu-option.c b/qemu-option.c
index 375daaa..74321bb 100644
--- a/qemu-option.c
+++
While id is NULL, qemu_opts_create can not fail, so ignore
errors is fine.
Signed-off-by: Dong Xu Wang
---
qemu-option.c |5 +
qemu-option.h |1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/qemu-option.c b/qemu-option.c
index e0131ce..d7d5ea9 100644
--- a/qemu-opt
We will use qemu_opts_create_nofail function, it can make code
more readable.
Signed-off-by: Dong Xu Wang
---
blockdev.c |2 +-
qemu-config.c |4 ++--
qemu-img.c |2 +-
qemu-sockets.c | 10 +-
vl.c | 12 +---
5 files changed, 14 insertions(+), 1
The new functions are opts_accepts_any() and find_desc_by_name(), which
are also going to be used by qemu_opts_validate() (see next commit).
This also makes opt_set() slightly more readable.
Signed-off-by: Luiz Capitulino
Signed-off-by: Dong Xu Wang
---
qemu-option.c | 40 +++
Add a new category for device models to log guest behaviour
which is likely to be a guest bug of some kind (accessing
nonexistent registers, reading 32 bit wide registers with
a byte access, etc). Making this its own log category allows
those who care (mostly guest OS authors) to see the complaints
So this is a compiler or system header error?
Anybody examined the differences in code generated with native compiler
and crosscompiler?
Is there some code difference or are wrong kernel headers pulled from
i386 resulting in invalid syscalls?
--
You received this bug notification because you ar
Michal Suchanek wrote:
> So this is a compiler or system header error?
>
> Anybody examined the differences in code generated with native compiler and
> crosscompiler?
...this comment doesn't make much sense to me -- did you add it to the
wrong bug report by mistake? i386 user mode's issues are n
On Sun, Oct 14, 2012 at 1:11 PM, Peter Maydell wrote:
> This patch series introduces a new logging category to
> qemu_log_mask(), for reporting situations which the device
> model can cope with but which indicate bugs in the guest.
> The most common cause of these is "guest tried to access
> a reg
It might be just coincidence but if you read the above comments you will
notice that people who compiled qemu natively on arm report that they
can run various binaries without issue but people who crosscompiled
report that they can't run the simplest i386 shell utilities.
How come that the functio
I do now know... I compile on my phone and tablet. In fact I loaded
Ubuntu on my Touchpad last night, native.
http://code.google.com/p/hp-touchpad-ubuntu/wiki/Installation
No more chroot to deal with.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is su
> How come that the functionality that is missing magically appears for
some people?
Coincidence. Nobody on this bug report has reported that they've been
able to run x86 binary X with a native compiled qemu but not with a
cross compiled version of the same qemu sources. I think it is vastly
more
I am now able to run winecfg... you have to have wine-pthread run winecfg
qemu-i386 /usr/bin/qemu-i386 wine-pthread winecfg
All the tabs load except audio.. For that it hangs..
Trying to fix that.. I want to run an app that hangs and it uses audio.
--
You received this bug notification because y
On 14 October 2012 15:02, Blue Swirl wrote:
> On Sun, Oct 14, 2012 at 1:11 PM, Peter Maydell
> wrote:
>> One question that comes to mind -- should we include qemu-log.h
>> in qemu-common.h (or some other common header?) rather than
>> having to include qemu-log.h directly in lots of device model
On Sun, Oct 14, 2012 at 3:41 PM, Peter Maydell wrote:
> On 14 October 2012 15:02, Blue Swirl wrote:
>> On Sun, Oct 14, 2012 at 1:11 PM, Peter Maydell
>> wrote:
>>> One question that comes to mind -- should we include qemu-log.h
>>> in qemu-common.h (or some other common header?) rather than
>>>
Implement byte/halfword read and write for the NVIC SCB_SHPRx
(System Handler Priority Registers). Do this by removing SHPR word access
from nvic_readl/writel and adding common code to hande all access
sizes in nvic_sysreg_read/write.
Because the "nvic_state *s" variable now needs to be declared
Rework the handling of arguments to ARM semihosting calls so that we
handle a possible failure return from get_user_ual() or put_user_ual().
(This incidentally silences a lot of warnings from clang about
"expression result unused").
Signed-off-by: Peter Maydell
---
target-m68k/m68k-semi.c has a s
I made a small tool to detect unused functions and
variables. Here's some fixes.
Blue Swirl (11):
target-sparc: make do_unaligned_access static
vl.c: add missing static
vnc: add missing static and remove unused functions
tap-win32: avoid a warning
m48t59: remove unused m48t59_set_addr
Signed-off-by: Blue Swirl
---
target-sparc/cpu.h |3 ---
target-sparc/ldst_helper.c |8 ++--
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h
index 214d01d..b4eda18 100644
--- a/target-sparc/cpu.h
+++ b/target-sparc/cpu.h
@
Add missing 'static' qualifiers and remove unused
pcmcia_socket_unregister().
Signed-off-by: Blue Swirl
---
hw/pcmcia.h |1 -
sysemu.h|5 -
vl.c| 33 -
3 files changed, 12 insertions(+), 27 deletions(-)
diff --git a/hw/pcmcia.h b/hw/pcmc
On Sun, Oct 14, 2012 at 7:58 PM, Blue Swirl wrote:
> I made a small tool to detect unused functions and
> variables. Here's some fixes.
Just run the attached tool in an object directory and after some time,
it will produce a list of suspect symbols:
AES_decrypt ( ./aes.o)
AES_encrypt ( ./aes.o)
A
On 14 October 2012 20:58, Blue Swirl wrote:
> index 2fc4137..2c02a83 100644
> --- a/hw/omap_gpmc.c
> +++ b/hw/omap_gpmc.c
> @@ -871,24 +871,3 @@ void omap_gpmc_attach(struct omap_gpmc_s *s, int cs,
> MemoryRegion *iomem)
> f->iomem = iomem;
> omap_gpmc_cs_map(s, cs);
> }
> -
> -void om
On Sun, Oct 14, 2012 at 8:00 PM, Peter Maydell wrote:
> Disable clang's initializer-overrides warnings, as QEMU makes significant
> use of the pattern of initializing an array with a range-based default
> entry like
> [0 ... 0x1ff] = { GPIO_NONE, 0 }
> followed by specific entries which overri
Add missing 'static' qualifiers. Remove unused functions
vnc_stop_worker_thread(), vnc_has_job() and vnc_jobs_clear().
Signed-off-by: Blue Swirl
---
console.h |2 --
ui/vnc-jobs.c | 46 +-
ui/vnc-jobs.h |4
ui/vnc.c | 14 +
Disable clang's initializer-overrides warnings, as QEMU makes significant
use of the pattern of initializing an array with a range-based default
entry like
[0 ... 0x1ff] = { GPIO_NONE, 0 }
followed by specific entries which override that default, and clang
would otherwise warn "initializer over
On 14 October 2012 21:15, Blue Swirl wrote:
> On Sun, Oct 14, 2012 at 8:00 PM, Peter Maydell
> wrote:
>> Blue Swirl previously submitted a patch which enabled this flag
>> (among others):
>> http://lists.gnu.org/archive/html/qemu-devel/2012-07/msg04203.html
>
> In my version, Clang flags were se
Signed-off-by: Blue Swirl
---
target-ppc/cpu.h|6 --
target-ppc/mmu_helper.c | 11 ++-
2 files changed, 6 insertions(+), 11 deletions(-)
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index d3ada54..ab88b33 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -1141
Signed-off-by: Blue Swirl
---
cpu-common.h|5 -
exec-all.h |2 --
exec-obsolete.h |4
exec.c | 19 +++
4 files changed, 11 insertions(+), 19 deletions(-)
diff --git a/cpu-common.h b/cpu-common.h
index c0d27af..f51ba67 100644
--- a/cpu-comm
Add missing 'static' qualifiers and remove unused functions.
This removes 405cr model entirely but it was not accessible
before.
Signed-off-by: Blue Swirl
---
hw/adb.c |8 +-
hw/adb.h |4 -
hw/mac_nvram.c | 24
hw/nvram.h | 11 --
hw/ppc.c | 54
Avoid a warning about missing declaration.
Signed-off-by: Blue Swirl
---
net/tap-win32.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/net/tap-win32.c b/net/tap-win32.c
index f1801e2..7964b45 100644
--- a/net/tap-win32.c
+++ b/net/tap-win32.c
@@ -30,6 +30,7 @@
#incl
Signed-off-by: Blue Swirl
---
hw/sun4c_intctl.c | 23 ---
hw/sun4m.h|4
2 files changed, 0 insertions(+), 27 deletions(-)
diff --git a/hw/sun4c_intctl.c b/hw/sun4c_intctl.c
index 8dfa5ec..09ef937 100644
--- a/hw/sun4c_intctl.c
+++ b/hw/sun4c_intctl.c
@@ -94
On Sun, 14 Oct 2012, Blue Swirl wrote:
> On Sun, Oct 14, 2012 at 7:58 PM, Blue Swirl wrote:
> > I made a small tool to detect unused functions and
> > variables. Here's some fixes.
>
> Just run the attached tool in an object directory and after some time,
> it will produce a list of suspect symb
On Sun, Oct 14, 2012 at 8:09 PM, Peter Maydell wrote:
> On 14 October 2012 20:58, Blue Swirl wrote:
>> index 2fc4137..2c02a83 100644
>> --- a/hw/omap_gpmc.c
>> +++ b/hw/omap_gpmc.c
>> @@ -871,24 +871,3 @@ void omap_gpmc_attach(struct omap_gpmc_s *s, int cs,
>> MemoryRegion *iomem)
>> f->iom
On 14 October 2012 21:33, Blue Swirl wrote:
> On Sun, Oct 14, 2012 at 8:09 PM, Peter Maydell
> wrote:
>> Please don't delete this function, it is the public facing interface
>> for allowing board models to attach NAND devices to the GPMC. This
>> might not be used by anything currently in mainli
Signed-off-by: Blue Swirl
---
slirp/misc.c | 14 --
slirp/misc.h |1 -
2 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/slirp/misc.c b/slirp/misc.c
index 0bee864..664532a 100644
--- a/slirp/misc.c
+++ b/slirp/misc.c
@@ -253,20 +253,6 @@ void lprint(const char *for
Add missing 'static' qualifiers and remove unused functions.
Signed-off-by: Blue Swirl
---
hw/devices.h |3 --
hw/i2c.h |3 --
hw/omap.h |1 -
hw/omap_gpmc.c| 21 ---
hw/pxa.h
Signed-off-by: Blue Swirl
---
hw/m48t59.c |7 ---
hw/nvram.h |1 -
2 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/hw/m48t59.c b/hw/m48t59.c
index dd6cb37..867bbda 100644
--- a/hw/m48t59.c
+++ b/hw/m48t59.c
@@ -466,13 +466,6 @@ uint32_t m48t59_read (void *opaque, uint3
On Sun, Oct 14, 2012 at 8:32 PM, malc wrote:
> On Sun, 14 Oct 2012, Blue Swirl wrote:
>
>> On Sun, Oct 14, 2012 at 7:58 PM, Blue Swirl wrote:
>> > I made a small tool to detect unused functions and
>> > variables. Here's some fixes.
>>
>> Just run the attached tool in an object directory and afte
On Sun, Oct 14, 2012 at 8:35 PM, Peter Maydell wrote:
> On 14 October 2012 21:33, Blue Swirl wrote:
>> On Sun, Oct 14, 2012 at 8:09 PM, Peter Maydell
>> wrote:
>>> Please don't delete this function, it is the public facing interface
>>> for allowing board models to attach NAND devices to the GP
On 14 October 2012 21:49, Blue Swirl wrote:
> On Sun, Oct 14, 2012 at 8:35 PM, Peter Maydell
> wrote:
>> On 14 October 2012 21:33, Blue Swirl wrote:
>>> On Sun, Oct 14, 2012 at 8:09 PM, Peter Maydell
>>> wrote:
In general anything in linux-user/arm/nwfpe is legacy code which
it's sc
Hello
Is kqemu deprecated ? Is there an alternative to it ? I mean other than
kvm, which my CPU (Pentium Celeron D, 2.53 GHz) does not support.
Can I compile qemu with "-O3 -march=pentium" if I want to get better
performance ? Has anyone tried it ?
`qemu-system-i386 -net nic ...` keeps sayi
Am 14.10.2012 22:33, schrieb Blue Swirl:
> On Sun, Oct 14, 2012 at 8:09 PM, Peter Maydell
> wrote:
>> Please don't delete this function, it is the public facing interface
>> for allowing board models to attach NAND devices to the GPMC. This
>> might not be used by anything currently in mainline,
Am 14.10.2012 21:58, schrieb Blue Swirl:
> Signed-off-by: Blue Swirl
Reviewed-by: Andreas Färber
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Currently the ppcemb_tlb_t struct, used on a number of embedded ppc models
to represent a TLB entry contains a target_phys_addr_t. That works
reasonably for now, but is troublesome for saving the state, which we'll
want to do in future. target_phys_addr_t is a large enough type to contain
a physi
The vmstate infrastructure includes a VMS_MULTIPY flag, and associated
VMSTATE_VBUFFER_MULTIPLY helper macro. These can be used to save a
variably sized buffer where the size in bytes of the buffer isn't directly
accessible as a structure field, but an element count from which the size
can be deri
Currently the XICS irq controller code has a per-irq state structure which
amongst other things includes whether the interrupt is level or message
triggered - this is configured by the platform code, and is not directly
visible to the guest. This leads to a slightly awkward construct at reset
time
This adds the necessary pieces to implement savevm / migration for the
pseries machine. The most complex part here is migrating the hash
table - for the paravirtualized pseries machine the guest's hash page
table is not stored within guest memory, but externally and the guest
accesses it via hyper
The savevm code for the powerpc cpu emulation is currently based around
the old register_savevm() rather than register_vmstate() method. It's also
rather broken, missing some important state on some CPU models.
This patch completely rewrites the savevm for target-ppc, using the new
VMStateDescrip
The VMSTATE_BUFFER_MULTIPLY macro is misnamed - it actually specifies
a variably sized buffer with VMS_VBUFFER, so should be named
VMSTATE_VBUFFER_MULTIPLY. This patch fixes this (the macro had no current
users under either name).
In addition, unlike the other VMSTATE_VBUFFER variants, this macro
This patch adds the necessary support for saving the state of the PAPR VIO
virtual SCSI device. This turns out to be trivial, because the generiC
SCSI code already quiesces the attached virtual SCSI bus.
Signed-off-by: David Gibson
---
hw/spapr_vscsi.c | 28
1 fil
This adds an _EQUAL VMSTATE helper for target_ulongs, defined in terms of
VMSTATE_UINT32_EQUAL or VMSTATE_UINT64_EQUAL as appropriate.
Signed-off-by: David Gibson
---
hw/hw.h |6 ++
vmstate.h |7 +--
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/hw/hw.h b/hw/h
Hi Alex, Juan,
This large patch series contains the full set of patches to add
working migration support for the pseries machine. This includes
converting target-ppc to new-style VMStateDescription, at the same
time reworking it thoroughly to correct many bugs.
As far as I know, no target-ppc ma
This patch adds the necessary VMStateDescription information to save the
state of PAPR TCE tables (that is, the PAPR specified IOMMU).
Signed-off-by: David Gibson
---
hw/spapr_iommu.c | 24
1 file changed, 24 insertions(+)
diff --git a/hw/spapr_iommu.c b/hw/spapr_iomm
This patch adds the necessary VMStateDescription information to allow
savevm/loadvm for the XICS interrupt controller.
Signed-off-by: David Gibson
---
hw/xics.c | 57 +
1 file changed, 53 insertions(+), 4 deletions(-)
diff --git a/hw/xic
The current savevm code includes VMSTATE helpers for a number of commonly
used data types, but not for the float64 type used by the internal floating
point emulation code. This patch fixes the deficiency.
Signed-off-by: David Gibson
---
savevm.c | 23 +++
vmstate.h | 15
Currently the savevm code contains a VMSTATE_STRUCT_VARRAY_POINTER_INT32
helper (a variably sized array with the number of elements in an int32_t),
but not VMSTATE_STRUCT_VARRAY_POINTER_UINT32 (... with the number of
elements in a uint32_t). This patch (trivially) fixes the deficiency.
Signed-off
This patch adds the necessary VMStateDescription information to support
savevm/loadvm for the spapr_llan (PAPR logical lan) device.
Signed-off-by: David Gibson
---
hw/spapr_llan.c | 24 ++--
hw/spapr_vty.c | 16
2 files changed, 38 insertions(+), 2 delet
The savevm code already includes a number of *_EQUAL helpers which act as
sanity checks verifying that the configuration of the saved state matches
that of the machine we're loading into to work. Variants already exist
for 8 bit 16 bit and 32 bit integers, but not 64 bit integers. This patch
fill
This patch adds helpers to allow PAPR VIO devices to save state common
to all VIO devices during savevm.
Signed-off-by: David Gibson
---
hw/spapr_vio.c | 20
hw/spapr_vio.h |5 +
2 files changed, 25 insertions(+)
diff --git a/hw/spapr_vio.c b/hw/spapr_vio.c
index
On 10/13/2012 04:47 PM, Laine Stump wrote:
> I am attempting to enhance libvirt's virDomainUpdateDeviceFlags() API to
> support changing "just about anything" about the host side of a PCI
> network device without actually detaching the PCI device from the guest.
> Here is a patch I sent to the libv
于 2012-10-13 18:49, Blue Swirl 写道:
> On Sat, Oct 13, 2012 at 5:10 AM, Wenchao Xia wrote:
>> From: Wenchao Xia
>>
>>These patches introduce libqblock API, make libqblock.la and make
>> check-libqblock could build this library.
>> Functionalities:
>> 1 create a new image.
>> 2 sync access o
These patches introduce libqblock API, make libqblock.la and make
check-libqblock could build this library.
Functionalities:
1 create a new image.
2 sync access of an image.
3 basic image information retrieving such as backing file.
4 detect if a sector is allocated in an image.
Supported For
Libqblock was placed in new directory ./libqblock, libtool will build
dynamic library there, source files of block layer remains in ./block.
So block related source code will generate 3 sets of binary, first is old
ones used in qemu, second and third are non PIC and PIC ones in ./libqblock.
GCC
In this example, first it will create some qcow2 images, then try get
information including backing file relationship, then it will do sync IO on
the image.
Signed-off-by: Wenchao Xia
---
tests/libqblock/libqblock-qcow2.c | 390 -
1 files changed, 389 inser
This patch contains type and macro defines used in APIs, one file for public
usage, one for libqblock internal usage.
Signed-off-by: Wenchao Xia
---
libqblock/libqblock-internal.h | 75
libqblock/libqblock-types.h| 252
2 files chang
This patch contains the major APIs in the library. For ABI some reserved
members were used.
Important APIs:
1 QBlockContext. This structure was used to retrieve errors, every thread
must create one first.
2 QBlockState. It stands for an block image object.
3 QBlockStaticInfo. It contains st
This modification is required if compiler option -Wunused-parameter is
activated.
Signed-off-by: Stefan Weil
---
configure |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 353d788..499ad81 100755
--- a/configure
+++ b/configure
@@ -1323,7 +1
Hi,
> Patches don't apply, please rebase:
> Applying: vga: add mmio bar to standard vga
> error: patch failed: hw/pc_piix.c:371
> error: hw/pc_piix.c: patch does not apply
> error: patch failed: hw/vga-pci.c:47
> error: hw/vga-pci.c: patch does not apply
> Patch failed at 0001 vga: add mmio bar
Hi,
This patch series adds a mmio bar to the standard vga. It also drops
a file into docs/specs/ describing the mmio bar and the other properties
of the qemu standard vga and does a little cleanup by removing
CONFIG_BOCHS_VBE.
v2:
- rebase to latest master and resolve conflicts.
- add patch
Signed-off-by: Gerd Hoffmann
---
docs/specs/standard-vga.txt | 64 +++
hw/vga-isa.c|2 +
hw/vga-pci.c|2 +
3 files changed, 68 insertions(+), 0 deletions(-)
create mode 100644 docs/specs/standard-vga.txt
diff --gi
Signed-off-by: Gerd Hoffmann
---
hw/vga.c | 34 +-
hw/vga_int.h | 28 +++-
2 files changed, 12 insertions(+), 50 deletions(-)
diff --git a/hw/vga.c b/hw/vga.c
index 053f89d..679cabc 100644
--- a/hw/vga.c
+++ b/hw/vga.c
@@ -582,7 +58
Signed-off-by: Gerd Hoffmann
---
hw/vga-pci.c | 28 ++--
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/hw/vga-pci.c b/hw/vga-pci.c
index 996d47f..5f55f36 100644
--- a/hw/vga-pci.c
+++ b/hw/vga-pci.c
@@ -48,25 +48,25 @@ static const VMStateDescription v
This patch adds a mmio bar to the qemu standard vga which allows to
access the standard vga registers and bochs dispi interface registers
via mmio.
Cc: Benjamin Herrenschmidt
Signed-off-by: Gerd Hoffmann
---
hw/pc_piix.c |4 ++
hw/vga-pci.c | 108 +++
On 10/12/2012 08:39 PM, Gerd Hoffmann wrote:
This patch adds chardev_add and chardev_del monitor commands.
chardev_del is pretty straight forward, it just takes an id argument and
zaps the chardev specified.
chardev_add is more tricky as there are tons of arguments for the
different backends.
93 matches
Mail list logo