Skip to contentSkip to conversation

help

Qemu-devel lc 2 participants 4 messages Jun 23, 2014

lore
Share & tools
lore

lc

author
#0 lore raw

hi,everyone
I want to copy a 3M picture from the guest to the host,which method i can use,i think channel is too slow,because i want sent 30 pieces per second.

thanks.

#1 lore raw

Hi,

Why not configure Nic for VM to transfer those pictures ?

Best regards,
-Gonglei

From: [email protected] [mailto:[email protected]] On Behalf Of lc
Sent: Monday, June 23, 2014 9:32 AM
To: [email protected]
Subject: [Qemu-devel] help

hi,everyone
I want to copy a 3M picture from the guest to the host,which method i can use,i think channel is too slow,because i want sent 30 pieces per second. thanks.

author
#2 lore raw

Re: [Qemu-devel] mem_pci devices

I want to use the memory mapping methods, so I made a memory pci devices, but I know very little about Windows driver programming, someone has done such a thing。

static TypeInfo mem_pci_info = {
.name = "mem_pci",
.parent = TYPE_PCI_DEVICE,
.instance_size = sizeof(PCIMEMPCIState),
.class_init = mem_pci_class_init,
};

thinks Gonglei.

At 2014-06-23 11:18:59, "Gonglei (Arei)" <[email protected]> wrote:

Hi,

Why not configure Nic for VM to transfer those pictures ?

Best regards,

-Gonglei

From: [email protected] [mailto:[email protected]] On Behalf Of lc
Sent: Monday, June 23, 2014 9:32 AM
To:[email protected]
Subject: [Qemu-devel] help

hi,everyone
I want to copy a 3M picture from the guest to the host,which method i can use,i think channel is too slow,because i want sent 30 pieces per second.

thanks.

#3 lore raw

Re: [Qemu-devel] mem_pci devices

Hi,

Ok, your used method as the same as ivshmem,
so actually your problem is “how to write driver for ivshmem in windows guests ?”

but IMHO no one has realized this.

Best regards,
-Gonglei

From: lc [mailto:[email protected]]
Sent: Monday, June 23, 2014 11:45 AM
To: Gonglei (Arei)
Cc: [email protected]
Subject: Re:RE: [Qemu-devel] mem_pci devices

I want to use the memory mapping methods, so I made a memory pci devices, but I know very little about Windows driver programming, someone has done such a thing。

static TypeInfo mem_pci_info = {
.name = "mem_pci",
.parent = TYPE_PCI_DEVICE,
.instance_size = sizeof(PCIMEMPCIState),
.class_init = mem_pci_class_init,
};

thinks Gonglei.

At 2014-06-23 11:18:59, "Gonglei (Arei)" <[email protected]> wrote:

Hi,

Why not configure Nic for VM to transfer those pictures ?

Best regards,
-Gonglei

From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of lc
Sent: Monday, June 23, 2014 9:32 AM
To: [email protected]<mailto:[email protected]>
Subject: [Qemu-devel] help

hi,everyone
I want to copy a 3M picture from the guest to the host,which method i can use,i think channel is too slow,because i want sent 30 pieces per second. thanks.