ranslate and power-mgmt ad qdev property
Allen Kay (2):
Introduce Xen PCI Passthrough, qdevice (1/3)
Introduce Xen PCI Passthrough, PCI config space helpers (2/3)
Anthony PERARD (7):
pci_ids: Add INTEL_82599_VF id.
pci_regs: Fix value of PCI_EXP_TYPE_RC_EC.
pci_regs: Add PCI_EXP_TYPE_PCI
Signed-off-by: Anthony PERARD
---
configure | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 763db24..0787992 100755
--- a/configure
+++ b/configure
@@ -132,6 +132,7 @@ vnc_png=""
vnc_thread
Value check in PCI Express Base Specification rev 1.1
Signed-off-by: Anthony PERARD
---
hw/pci_regs.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/pci_regs.h b/hw/pci_regs.h
index e8357c3..6b42515 100644
--- a/hw/pci_regs.h
+++ b/hw/pci_regs.h
@@ -393,7 +393,7
Signed-off-by: Anthony PERARD
---
hw/pci_ids.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/pci_ids.h b/hw/pci_ids.h
index e8235a7..943106a 100644
--- a/hw/pci_ids.h
+++ b/hw/pci_ids.h
@@ -118,6 +118,7 @@
#define PCI_DEVICE_ID_INTEL_82801I_UHCI6 0x2939
#define
From: Yuji Shimada
This function helps Xen PCI Passthrough device to check for overlap.
Signed-off-by: Yuji Shimada
Signed-off-by: Anthony PERARD
---
hw/pci.c | 47 +++
hw/pci.h |3 +++
2 files changed, 50 insertions(+), 0 deletions(-)
diff
From: Allen Kay
A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git
Signed-off-by: Allen Kay
Signed-off-by: Guy Zana
Signed-off-by: Anthony PERARD
---
hw/xen_pci_passthrough.c | 10 +
hw/xen_pci_passthrough.h |2 +
hw
From: Allen Kay
A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git
Signed-off-by: Allen Kay
Signed-off-by: Guy Zana
Signed-off-by: Anthony PERARD
---
Makefile.target |2 +
hw/xen_common.h |3 +
hw
Actually, pci_parse_devaddr checks if the dom/bus of the PCI address exist. But
this should be the jobs of a caller. In fact, the two callers of this function
will try to retrieve the PCIBus related to the devaddr and return an error if
they cannot.
Signed-off-by: Anthony PERARD
---
hw/pci.c
From: Jiang Yunhong
A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git
Signed-off-by: Jiang Yunhong
Signed-off-by: Shan Haitao
Signed-off-by: Anthony PERARD
---
Makefile.target |1 +
hw/apic-msidef.h
Signed-off-by: Anthony PERARD
---
hw/pci_regs.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/pci_regs.h b/hw/pci_regs.h
index 6b42515..56a404b 100644
--- a/hw/pci_regs.h
+++ b/hw/pci_regs.h
@@ -392,6 +392,7 @@
#define PCI_EXP_TYPE_UPSTREAM 0x5 /* Upstream
This patch move the msi definition from apic.c to apic-msidef.h. So it can be
used also by other .c files.
Signed-off-by: Anthony PERARD
---
hw/apic-msidef.h | 28
hw/apic.c| 11 +--
2 files changed, 29 insertions(+), 10 deletions(-)
create mode
On Mon, 13 Feb 2012, Michael S. Tsirkin wrote:
> On Mon, Feb 13, 2012 at 12:20:13PM +0000, Anthony PERARD wrote:
> > Actually, pci_parse_devaddr checks if the dom/bus of the PCI address exist.
> > But
> > this should be the jobs of a caller. In fact, the two callers
Signed-off-by: Anthony PERARD
---
Makefile.target |3 +
hw/host-pci-device.c | 278 ++
hw/host-pci-device.h | 75 ++
3 files changed, 356 insertions(+), 0 deletions(-)
create mode 100644 hw/host-pci-device.c
create mode
On Tue, Feb 14, 2012 at 13:13, Jan Beulich wrote:
>>>> On 13.02.12 at 13:20, Anthony PERARD wrote:
>> From: Jiang Yunhong
>>
>> A more complete history can be found here:
>> git://xenbits.xensource.com/qemu-xen-unstable.git
>
> This needs to b
Value check in PCI Express Base Specification rev 1.1
Signed-off-by: Anthony PERARD
---
hw/pci_regs.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/pci_regs.h b/hw/pci_regs.h
index e8357c3..6b42515 100644
--- a/hw/pci_regs.h
+++ b/hw/pci_regs.h
@@ -393,7 +393,7
Signed-off-by: Anthony PERARD
---
hw/pci_regs.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/pci_regs.h b/hw/pci_regs.h
index 6b42515..56a404b 100644
--- a/hw/pci_regs.h
+++ b/hw/pci_regs.h
@@ -392,6 +392,7 @@
#define PCI_EXP_TYPE_UPSTREAM 0x5 /* Upstream
rough, qdevice (1/3)
Introduce Xen PCI Passthrough, PCI config space helpers (2/3)
Anthony PERARD (6):
pci_ids: Add INTEL_82599_VF id.
pci_regs: Fix value of PCI_EXP_TYPE_RC_EC.
pci_regs: Add PCI_EXP_TYPE_PCIE_BRIDGE
configure: Introduce --enable-xen-pci-passthrough.
Introduce HostPCID
From: Allen Kay
A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git
Signed-off-by: Allen Kay
Signed-off-by: Guy Zana
Signed-off-by: Anthony PERARD
---
hw/xen_pci_passthrough.c | 10 +
hw/xen_pci_passthrough.h |2 +
hw
: Anthony PERARD
---
hw/xen_pci_passthrough.c | 80 --
hw/xen_pci_passthrough.h | 11 +-
hw/xen_pci_passthrough_msi.c | 62
3 files changed, 78 insertions(+), 75 deletions(-)
diff --git a/hw
From: Jiang Yunhong
A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git
Signed-off-by: Jiang Yunhong
Signed-off-by: Shan Haitao
Signed-off-by: Anthony PERARD
---
Makefile.target |1 +
hw/apic-msidef.h
Signed-off-by: Anthony PERARD
---
hw/pci_ids.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/pci_ids.h b/hw/pci_ids.h
index e8235a7..943106a 100644
--- a/hw/pci_ids.h
+++ b/hw/pci_ids.h
@@ -118,6 +118,7 @@
#define PCI_DEVICE_ID_INTEL_82801I_UHCI6 0x2939
#define
From: Yuji Shimada
This function helps Xen PCI Passthrough device to check for overlap.
Signed-off-by: Yuji Shimada
Signed-off-by: Anthony PERARD
---
hw/pci.c | 47 +++
hw/pci.h |3 +++
2 files changed, 50 insertions(+), 0 deletions(-)
diff
Signed-off-by: Anthony PERARD
---
Makefile.target |3 +
hw/host-pci-device.c | 278 ++
hw/host-pci-device.h | 75 ++
3 files changed, 356 insertions(+), 0 deletions(-)
create mode 100644 hw/host-pci-device.c
create mode
Signed-off-by: Anthony PERARD
---
configure | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 68f9ee6..e2c8d3f 100755
--- a/configure
+++ b/configure
@@ -132,6 +132,7 @@ vnc_png=""
vnc_thread
From: Allen Kay
A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git
Signed-off-by: Allen Kay
Signed-off-by: Guy Zana
Signed-off-by: Anthony PERARD
---
Makefile.target |2 +
hw/xen_common.h |3 +
hw
This patch move the msi definition from apic.c to apic-msidef.h. So it can be
used also by other .c files.
Signed-off-by: Anthony PERARD
---
hw/apic-msidef.h | 28
hw/apic.c| 11 +--
2 files changed, 29 insertions(+), 10 deletions(-)
create mode
..9f30f5f 100644
--- a/monitor.c
+++ b/monitor.c
@@ -165,7 +165,7 @@ struct Monitor {
int reset_seen;
int flags;
int suspend_cnt;
-uint8_t outbuf[1024];
+uint8_t outbuf[2048];
int outbuf_index;
ReadLineState *rs;
MonitorControl *mc;
--
Anthony PERARD
This patch add some calls to xen_modified_memory to notify Xen about dirtybits
during migration.
Signed-off-by: Anthony PERARD
---
exec.c | 1 +
memory.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/exec.c b/exec.c
index 209ac1c..844a73c 100644
--- a/exec.c
+++ b/exec.c
@@ -3429,6
If the call to xc_hvm_track_dirty_vram() fails, then we set dirtybit on all the
video ram. This case happens during migration, but we don't need a special case
for live migration with patch.
Signed-off-by: Anthony PERARD
---
xen-all.c | 3 ++-
1 file changed, 2 insertions(+), 1 del
This function is to be used during live migration. Every write access to the
guest memory should call this funcion so the Xen tools knows which pages are
dirty.
Signed-off-by: Anthony PERARD
---
hw/xen.h | 1 +
xen-all.c | 21 +
xen-stub.c | 4
3 files changed, 26
dirty if the xen call fails, instead of only
during migration.
Change v1-v2:
- New patch to set dirty if not, in exec.c
=> only one place to add the xen call in exec.c
Thanks for your reviews,
Anthony PERARD (5):
QMP, Introduce xen-set-global-dirty-log command.
xen: Introd
This new helper/hook is used in the next patch to add an extra call in a single
place.
Signed-off-by: Anthony PERARD
---
exec.c | 52 +---
1 file changed, 17 insertions(+), 35 deletions(-)
diff --git a/exec.c b/exec.c
index f22e9e6..209ac1c
This command is used during a migration of a guest under Xen. It calls
memory_global_dirty_log_start or memory_global_dirty_log_stop according to the
argument pass to the command.
Signed-off-by: Anthony PERARD
Reviewed-by: Luiz Capitulino
---
qapi-schema.json | 13 +
qmp
t;> +rc = xc_hvm_modified_memory(xen_xc, xen_domid, start_pfn, nb_pages);
>> +if (rc) {
>> +fprintf(stderr, "%s failed for "RAM_ADDR_FMT" ("RAM_ADDR_FMT
>> +"): %i, %s\n", __func__,
>> +start, nb_pages, rc, strerror(-rc));
>
> a would prefer a more sane way of splitting this sentence in lines
Will do.
--
Anthony PERARD
On Thu, Sep 20, 2012 at 1:31 PM, Stefano Stabellini
wrote:
> On Thu, 20 Sep 2012, Anthony PERARD wrote:
>> If the call to xc_hvm_track_dirty_vram() fails, then we set dirtybit on all
>> the
>> video ram. This case happens during migration, but we don't need a sp
This new helper/hook is used in the next patch to add an extra call in a single
place.
Signed-off-by: Anthony PERARD
Reviewed-by: Avi Kivity
---
exec.c | 52 +---
1 file changed, 17 insertions(+), 35 deletions(-)
diff --git a/exec.c b/exec.c
If the call to xc_hvm_track_dirty_vram() fails, then we set dirtybit on all the
video ram. This case happens during migration.
Signed-off-by: Anthony PERARD
---
xen-all.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/xen-all.c b/xen-all.c
index b11542c..e6308be 100644
This patch add some calls to xen_modified_memory to notify Xen about dirtybits
during migration.
Signed-off-by: Anthony PERARD
---
exec.c | 1 +
memory.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/exec.c b/exec.c
index 366684c..1114a09 100644
--- a/exec.c
+++ b/exec.c
@@ -3427,6
This command is used during a migration of a guest under Xen. It calls
memory_global_dirty_log_start or memory_global_dirty_log_stop according to the
argument pass to the command.
Signed-off-by: Anthony PERARD
Reviewed-by: Luiz Capitulino
---
qapi-schema.json | 13 +
qmp
This function is to be used during live migration. Every write access to the
guest memory should call this funcion so the Xen tools knows which pages are
dirty.
Signed-off-by: Anthony PERARD
---
hw/xen.h | 1 +
xen-all.c | 21 +
xen-stub.c | 4
3 files changed, 26
set_dirty_helper to invalidate_and_set_dirty.
- in the last patch, set vram as dirty if the xen call fails, instead of only
during migration.
Change v1-v2:
- New patch to set dirty if not, in exec.c
=> only one place to add the xen call in exec.c
Thanks for your reviews,
Anthony PERARD
On 10/02/2012 11:25 AM, Avi Kivity wrote:
> On 10/01/2012 12:36 PM, Stefano Stabellini wrote:
>> On Thu, 27 Sep 2012, Anthony PERARD wrote:
>>> This patch add some calls to xen_modified_memory to notify Xen about
dirtybits
>>> during migration.
>>>
>>>
This function is to be used during live migration. Every write access to the
guest memory should call this funcion so the Xen tools knows which pages are
dirty.
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
hw/xen.h | 1 +
xen-all.c | 21 +
xen-stub.c
This new helper/hook is used in the next patch to add an extra call in a single
place.
Signed-off-by: Anthony PERARD
Reviewed-by: Avi Kivity
---
exec.c | 52 +---
1 file changed, 17 insertions(+), 35 deletions(-)
diff --git a/exec.c b/exec.c
This command is used during a migration of a guest under Xen. It calls
memory_global_dirty_log_start or memory_global_dirty_log_stop according to the
argument pass to the command.
Signed-off-by: Anthony PERARD
Reviewed-by: Luiz Capitulino
---
qapi-schema.json | 13 +
qmp
This patch add some calls to xen_modified_memory to notify Xen about dirtybits
during migration.
Signed-off-by: Anthony PERARD
---
exec-obsolete.h | 2 ++
exec.c | 1 +
2 files changed, 3 insertions(+)
diff --git a/exec-obsolete.h b/exec-obsolete.h
index c099256..286e2f7 100644
--- a
:
- New patch to set dirty if not, in exec.c
=> only one place to add the xen call in exec.c
Anthony PERARD (5):
QMP, Introduce xen-set-global-dirty-log command.
xen: Introduce xen_modified_memory.
exec: Introduce helper to set dirty flags.
exec, memory: Call to xen_modified_memory.
If the call to xc_hvm_track_dirty_vram() fails, then we set dirtybit on all the
video ram. This case happens during migration.
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
xen-all.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/xen-all.c b/xen-all.c
This patch add some calls to xen_modified_memory to notify Xen about dirtybits
during migration.
Signed-off-by: Anthony PERARD
Reviewed-by: Avi Kivity
---
exec-obsolete.h | 2 ++
exec.c | 1 +
2 files changed, 3 insertions(+)
diff --git a/exec-obsolete.h b/exec-obsolete.h
index
If the call to xc_hvm_track_dirty_vram() fails, then we set dirtybit on all the
video ram. This case happens during migration.
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
xen-all.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/xen-all.c b/xen-all.c
vram as dirty if the xen call fails, instead of only
during migration.
Change v1-v2:
- New patch to set dirty if not, in exec.c
=> only one place to add the xen call in exec.c
Anthony PERARD (5):
QMP, Introduce xen-set-global-dirty-log command.
xen: Introduce xen_modified_mem
This command is used during a migration of a guest under Xen. It calls
memory_global_dirty_log_start or memory_global_dirty_log_stop according to the
argument pass to the command.
Signed-off-by: Anthony PERARD
Reviewed-by: Luiz Capitulino
---
qapi-schema.json | 13 +
qmp
This function is to be used during live migration. Every write access to the
guest memory should call this funcion so the Xen tools knows which pages are
dirty.
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
hw/xen.h | 1 +
xen-all.c | 21 +
xen-stub.c
This new helper/hook is used in the next patch to add an extra call in a single
place.
Signed-off-by: Anthony PERARD
Reviewed-by: Avi Kivity
---
exec.c | 52 +---
1 file changed, 17 insertions(+), 35 deletions(-)
diff --git a/exec.c b/exec.c
The Xen platform device will unplug any NICs if requested by the guest (PVonHVM)
including a NIC that would have been passthrough. This patch makes sure that a
passthrough device will not be unplug.
Reported-by: "Zhang, Yang Z"
Signed-off-by: Anthony PERARD
---
hw/xen_plat
In some cases (Xen), it will not be initialized before to be used. This
leads to segv.
Signed-off-by: Anthony PERARD
---
It works with this simple initialization to NULL, but would it be
necessary (or better) to assign a proper value to this variables ?
---
hw/i386/pc_piix.c | 2 +-
1 file
ib/
xen42:
/home/build/install/xen-4.2.x/lib/
xen_unstable:
/home/build/install/xen-unstable/lib/
Thanks for locking at this.
--
Anthony PERARD
gt;suspend.notify = xen_suspend_notifier;
> qemu_register_suspend_notifier(&state->suspend);
>
> +state->wakeup_later.notify = xen_wakeup_later_notifier;
> +qemu_register_wakeup_later_notifier(&state->wakeup_later);
> +
> xc_get_hvm_param(xen_xc, xen_domid, HVM_PARAM_IOREQ_PFN, &ioreq_pfn);
> DPRINTF("shared page at pfn %lx\n", ioreq_pfn);
> state->shared_page = xc_map_foreign_range(xen_xc, xen_domid,
> XC_PAGE_SIZE,
>
Could you break this path into two? One which add the notifier list and
a second one with the Xen specific part?
Thanks,
--
Anthony PERARD
Signed-off-by: Anthony PERARD
---
Right now, starting an HVM with Q35 chipset those not works because
HVMLoader (the Xen pre-bios) look for the standard chipset i440FX.
Especialy the PCI/ISA bridge.
Error message from HVMLoader:
assertion '(devfn != PCI_ISA_DEVFN) || ((vendor_id == 0
Signed-off-by: Anthony PERARD
---
hw/i386/pc_piix.c| 2 +-
include/hw/xen/xen.h | 4 +---
xen-all.c| 7 ---
3 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 3c36a2a..a5ea582 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386
PERARD (2):
pc: Initializing ram_memory under Xen.
pc_q35: Initialize Xen.
hw/i386/pc_piix.c| 2 +-
hw/i386/pc_q35.c | 5 +
include/hw/xen/xen.h | 4 +---
xen-all.c| 7 ---
4 files changed, 11 insertions(+), 7 deletions(-)
--
Anthony PERARD
pus();
> +notifier_list_notify(&later_wakeup_notifiers, NULL);
> monitor_protocol_event(QEVENT_WAKEUP, NULL);
> }
> if (qemu_powerdown_requested()) {
>
The patch those not apply properly to QEMU (upstream) but it just
because the file sysemu.h have been moved to include/sysemu/sysemu.h
Once this is fix:
Acked-by: Anthony PERARD
--
Anthony PERARD
;ioreq_pfn);
> DPRINTF("shared page at pfn %lx\n", ioreq_pfn);
> state->shared_page = xc_map_foreign_range(xen_xc, xen_domid,
> XC_PAGE_SIZE,
>
Acked-by: Anthony PERARD
--
Anthony PERARD
thing different (which can
be another part).
After a quick bisect, the first commit where this bug appear is:
38ee14f4f33f8836fc0e209ca59c6ae8c6edf380
vnc: fix use-after-free in vnc_update_client_sync
Any solution for that ?
Thanks,
--
Anthony PERARD
On Fri, Jun 13, 2014 at 10:25:23AM +0200, Gerd Hoffmann wrote:
> Bug was added by 38ee14f4f33f8836fc0e209ca59c6ae8c6edf380.
> vnc_jobs_join call is missing in one code path.
>
> Reported-by: Anthony PERARD
> Signed-off-by: Gerd Hoffmann
I've tested the patch, it works.
compatible with those old xen version. And especially, how to guarantee no
> one occupy 00:02.0 in the future with auto assign?
Hi,
Libxl knows how to create a guest without xen-platform, but I think this
can work only from QEMU 1.6 (which Xen 4.4 use).
So, using the options below with libxl would put the xen-platform device
away from the 00:02 slot.
xen_platform_pci=0
device_model_args_hvm = [ '-device', 'xen-platform,addr=0x3' ]
--
Anthony PERARD
7;xenfv' machine is not applied for
> some reason.
>
> I'd suggest to investigate a reason why compat properties don't work
> for xenfv machine.
This is because, to be able to remove the xen-platform device, we switch
the -machine from xenfv to pc,accel=xen. So in that case ,the compat
property is not applied...
--
Anthony PERARD
With the latest Xen (4.1 and unstable), you can specifie a different
device model in the config file instead of remplacing the default
binary.
Regards,
--
Anthony PERARD
On Sun, 18 Dec 2011, Avi Kivity wrote:
> On 12/15/2011 05:12 PM, Anthony Liguori wrote:
> > On 12/09/2011 03:54 PM, Anthony PERARD wrote:
> >> In Xen case, the guest RAM is not handle by QEMU, and it is saved by
> >> Xen tools.
> >> So, we just avoid to
the Xen call failed.
Signed-off-by: Anthony PERARD
---
xen-all.c | 38 ++
1 files changed, 18 insertions(+), 20 deletions(-)
diff --git a/xen-all.c b/xen-all.c
index dc23265..2aa8c03 100644
--- a/xen-all.c
+++ b/xen-all.c
@@ -403,9 +403,9 @@ static void
the Xen call failed.
Signed-off-by: Anthony PERARD
---
xen-all.c | 38 ++
1 files changed, 18 insertions(+), 20 deletions(-)
diff --git a/xen-all.c b/xen-all.c
index dc23265..2aa8c03 100644
--- a/xen-all.c
+++ b/xen-all.c
@@ -403,9 +403,9 @@ static void
On Tue, Jan 3, 2012 at 19:05, Luiz Capitulino wrote:
> On Mon, 19 Dec 2011 17:27:55 +
> Anthony PERARD wrote:
>
>> On Thu, 15 Dec 2011, Luiz Capitulino wrote:
>>
>> > On Thu, 15 Dec 2011 09:14:00 -0600
>> > Anthony Liguori wrote:
>> >
>
Signed-off-by: Anthony PERARD
---
hw/pci_ids.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/pci_ids.h b/hw/pci_ids.h
index e8235a7..943106a 100644
--- a/hw/pci_ids.h
+++ b/hw/pci_ids.h
@@ -118,6 +118,7 @@
#define PCI_DEVICE_ID_INTEL_82801I_UHCI6 0x2939
#define
From: Yuji Shimada
This function helps Xen PCI Passthrough device to check for overlap.
Signed-off-by: Yuji Shimada
Signed-off-by: Anthony PERARD
---
hw/pci.c | 50 ++
hw/pci.h |5 +
2 files changed, 55 insertions(+), 0 deletions
This patch move the msi definition from apic.c to apic-msidef.h. So it can be
used also by other .c files.
Signed-off-by: Anthony PERARD
---
hw/apic-msidef.h | 30 ++
hw/apic.c| 11 +--
2 files changed, 31 insertions(+), 10 deletions(-)
create
From: Jiang Yunhong
A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git
Signed-off-by: Jiang Yunhong
Signed-off-by: Shan Haitao
Signed-off-by: Anthony PERARD
---
Makefile.target |1 +
hw/xen_pci_passthrough.c
From: Allen Kay
A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git
Signed-off-by: Allen Kay
Signed-off-by: Guy Zana
Signed-off-by: Anthony PERARD
---
Makefile.target |2 +
hw/xen_common.h |3 +
hw
roduce Xen PCI Passthrough, qdevice (1/3)
Introduce Xen PCI Passthrough, PCI config space helpers (2/3)
Anthony PERARD (4):
pci_ids: Add INTEL_82599_VF id.
configure: Introduce --enable-xen-pci-passthrough.
Introduce HostPCIDevice to access a pci device on the host.
Introduce apic-msidef.h
From: Allen Kay
A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git
Signed-off-by: Allen Kay
Signed-off-by: Guy Zana
Signed-off-by: Anthony PERARD
---
hw/xen_pci_passthrough.c | 10 +
hw/xen_pci_passthrough.h |2 +
hw
Signed-off-by: Anthony PERARD
---
configure | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index afe7395..1d1204a 100755
--- a/configure
+++ b/configure
@@ -136,6 +136,7 @@ vnc_png=""
vnc_thread
Signed-off-by: Anthony PERARD
---
Makefile.target |3 +
hw/host-pci-device.c | 278 ++
hw/host-pci-device.h | 75 ++
3 files changed, 356 insertions(+), 0 deletions(-)
create mode 100644 hw/host-pci-device.c
create mode
guest.
Signed-off-by: Anthony PERARD
---
exec.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/exec.c b/exec.c
index be392e2..be08930 100644
--- a/exec.c
+++ b/exec.c
@@ -3851,8 +3851,8 @@ void cpu_physical_memory_rw(target_phys_addr_t addr,
uint8_t *buf
On 19/03/12 11:50, Stefano Stabellini wrote:
On Fri, 16 Mar 2012, Anthony PERARD wrote:
Signed-off-by: Anthony PERARD
---
hw/pci_ids.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/pci_ids.h b/hw/pci_ids.h
index e8235a7..943106a 100644
--- a/hw/pci_ids.h
+++ b
On 19/03/12 13:15, Michael S. Tsirkin wrote:
On Fri, Mar 16, 2012 at 04:54:18PM +, Anthony PERARD wrote:
From: Yuji Shimada
This function helps Xen PCI Passthrough device to check for overlap.
Signed-off-by: Yuji Shimada
Signed-off-by: Anthony PERARD
It seems that what's called for
This patch move the msi definition from apic.c to apic-msidef.h. So it can be
used also by other .c files.
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
hw/apic-msidef.h | 30 ++
hw/apic.c| 11 +--
2 files changed, 31 insertions
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
Makefile.target |3 +
hw/host-pci-device.c | 278 ++
hw/host-pci-device.h | 75 ++
3 files changed, 356 insertions(+), 0 deletions(-)
create mode 100644 hw
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
configure | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 8b4e3c1..f61bd48 100755
--- a/configure
+++ b/configure
@@ -136,6 +136,7 @@ vnc_png
From: Allen Kay
A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git
Signed-off-by: Allen Kay
Signed-off-by: Guy Zana
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
Makefile.target |2 +
hw/xen_common.h
From: Allen Kay
A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git
Signed-off-by: Allen Kay
Signed-off-by: Guy Zana
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
hw/xen_pci_passthrough.c | 10 +
hw
rough, qdevice (1/3)
Introduce Xen PCI Passthrough, PCI config space helpers (2/3)
Anthony PERARD (5):
pci_ids: Add INTEL_82599_VF id.
configure: Introduce --enable-xen-pci-passthrough.
Introduce HostPCIDevice to access a pci device on the host.
pci.c: Add opaque argument to pci_for_each_
device?
These functions are not very Xen specific and just provide a layer to
access to a pci device.
--
Anthony PERARD
Signed-off-by: Anthony PERARD
---
hw/pci.c | 11 +++
hw/pci.h |4 +++-
hw/xen_platform.c |8
3 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/hw/pci.c b/hw/pci.c
index 77001fa..49f1bf0 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -1123,7
From: Jiang Yunhong
A more complete history can be found here:
git://xenbits.xensource.com/qemu-xen-unstable.git
Signed-off-by: Jiang Yunhong
Signed-off-by: Shan Haitao
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
Makefile.target |1 +
hw
Signed-off-by: Anthony PERARD
---
hw/pci_ids.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/pci_ids.h b/hw/pci_ids.h
index e8235a7..649e6b3 100644
--- a/hw/pci_ids.h
+++ b/hw/pci_ids.h
@@ -118,6 +118,7 @@
#define PCI_DEVICE_ID_INTEL_82801I_UHCI6 0x2939
#define
On Wed, Mar 21, 2012 at 20:46, Michael S. Tsirkin wrote:
> On Wed, Mar 21, 2012 at 06:29:02PM +0000, Anthony PERARD wrote:
>> diff --git a/hw/xen_pci_passthrough.h b/hw/xen_pci_passthrough.h
>> new file mode 100644
>> index 000..2c5e83d
>> --- /dev/null
>&g
On Wed, Mar 21, 2012 at 20:30, Michael S. Tsirkin wrote:
> On Wed, Mar 21, 2012 at 06:29:00PM +0000, Anthony PERARD wrote:
>> Signed-off-by: Anthony PERARD
>> Acked-by: Stefano Stabellini
>
> So this interface is really LinuxSysfsPCIDevice.
> For example the assumptio
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
hw/pci_ids.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/pci_ids.h b/hw/pci_ids.h
index e8235a7..649e6b3 100644
--- a/hw/pci_ids.h
+++ b/hw/pci_ids.h
@@ -118,6 +118,7 @@
#define
This patch move the msi definition from apic.c to apic-msidef.h. So it can be
used also by other .c files.
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
hw/apic-msidef.h | 30 ++
hw/apic.c| 11 +--
2 files changed, 31 insertions
Signed-off-by: Anthony PERARD
Acked-by: Stefano Stabellini
---
hw/pci.c | 11 +++
hw/pci.h |4 +++-
hw/xen_platform.c |8
3 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/hw/pci.c b/hw/pci.c
index 77001fa..49f1bf0 100644
--- a/hw/pci.c
1 - 100 of 1264 matches
Mail list logo