But of course it is possible to test in VM too and it should be easy. Just create tun/tap interface for connection between VM and host. On host side start dnsmasq (which has support for RA & DHCPv6) and configure some non /64 prefix (e.g fd00::/100) [1]. And then check if NetworkManager in VM set correct /100 route (ip -6 route) and not some /64. Thats all.
[1] - example dnsmasq configuration (do not know if work, I just write what I remember):
$ dnsmasq --enable-ra --dhcp-range=fd00::2,fd00::10,100,12h --interface=tun0 --except-interface=lo --listen-address=fd00::1 --bind-interfaces
(host must have tun0 interface with ipv6 address fd00::1)
Now I do not have machine for testing...
But of course it is possible to test in VM too and it should be easy. Just create tun/tap interface for connection between VM and host. On host side start dnsmasq (which has support for RA & DHCPv6) and configure some non /64 prefix (e.g fd00::/100) [1]. And then check if NetworkManager in VM set correct /100 route (ip -6 route) and not some /64. Thats all.
[1] - example dnsmasq configuration (do not know if work, I just write what I remember): range=fd00: :2,fd00: :10,100, 12h --interface=tun0 --except- interface= lo --listen- address= fd00::1 --bind-interfaces
$ dnsmasq --enable-ra --dhcp-
(host must have tun0 interface with ipv6 address fd00::1)