Re: [Qemu-devel] [PATCHv3 12/13] qemu: virtio save/load bindings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



duplicated save config.

> diff --git a/hw/virtio.h b/hw/virtio.h
> index 04a3c3d..ce05517 100644
> --- a/hw/virtio.h
> +++ b/hw/virtio.h
> @@ -72,6 +72,10 @@ typedef struct VirtQueueElement
>  
>  typedef struct {
>      void (*notify)(void * opaque, uint16_t vector);
> +    void (*save_config)(void * opaque, QEMUFile *f);
> +    void (*save_queue)(void * opaque, int n, QEMUFile *f);
> +    int (*load_config)(void * opaque, QEMUFile *f);
> +    int (*load_queue)(void * opaque, int n, QEMUFile *f);
>  } VirtIOBindings;
>  
So, what's the overall effect on a virtual machine that gets migrated,
of a certain device not implementing one of those functions? Will it work?
Will it break?


_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/virtualization

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux